Computer Science • Databases

Schema Architect

← Back to Computer Science

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
CURRENCYMonetary amounts (e.g. a cost or price)
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

Schema Architect — Key Terms

Key concepts and translations across English, te reo Māori, Simplified Chinese (中文) and Korean (한국어).

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 — Karaitiana Taiuru's Dictionary of Māori Computer and Social Media Terms, Paekupu, the Reserve Bank's te reo financial glossary and Te Aka. 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".