Learn It With Me · Computer Science

Schema Architect

Click  + Add table  to place your first table on the workspace.

Generated DDL


      

Check my answer

Model DDL


      

Keys & data types

Primary key (PK)
The field, or combination of fields, that uniquely identifies each row in a table. Click the key icon next to a column to mark it part of the primary key — click it again to remove it. A composite key has more than one column marked.
Foreign key (FK)
A field that holds the primary key value of a row in another table, linking the two. Click the link icon next to the foreign-key column, then click the link icon next to the primary-key column it refers to.
Data typeStores
INTEGERWhole numbers
REALNumbers with a decimal point
CHAR(n)Fixed-length text of exactly n characters
VARCHAR(n)Variable-length text of up to n characters
DATEA calendar date
TIMEA time of day
BOOLEANTRUE or FALSE

Key terms · Ngā kupu matuaEnglish · te reo Māori · 中文 · 한국어

EnglishTe reo Māori中文(简体)한국어What it means on this page

On the te reo Māori column. Terms marked as gaps have no attested equivalent in the sources checked — Paekupu (Hangarau Matihiko), Te Aka and the CS Unplugged kuputaka. No coinage is printed as though it were established; where a class needs one, commission it from Te Taura Whiri i te Reo Māori and credit the translator. Te reo Māori is not italicised and takes no plural “s”.