Founding rate: RM5 off Basic, forever — applied automatically. See pricing

Menu

Topic

Schema design

Primary keys, foreign keys, and shaping tables so a fact is stored exactly once. Interviewers ask this alongside query-writing, not instead of it, and it's the half a query-language tutorial alone never covers.

New to this? Read the free Database Fundamentals tutorial.

easyAdd a primary key to an unkeyed orders tableFreeeasyClose the loophole on a column that's never actually nullFreemediumLink orders to customers with an enforced, cascading foreign keyFree