Define a new table and its columns.
Defines a new table with its columns, types, constraints, and indexes. The foundation of relational schema design. Choose column types carefully -- changing them later is expensive. Define NOT NULL and primary keys up front where possible.
| Database System | Support Status | Since Version | Notes |
|---|---|---|---|
| MySQL | ✓ Supported | all | Engine options available |
| PostgreSQL | ✓ Supported | all | Standard + SERIAL |
| SQL Server | ✓ Supported | all | Standard + IDENTITY |
| Oracle | ✓ Supported | all | Standard + SEQUENCES |
| SQLite | ✓ Supported | all | Standard + AUTOINCREMENT |
DDL to create a new relational table.
Engine options available
Standard + SERIAL
Standard + IDENTITY
Standard + SEQUENCES
Standard + AUTOINCREMENT