SQLAdvancedabout 7 hours16 lessons
Recommended first: Season Analytics
Lantern Yard is a community workshop that has run for two years on a shared spreadsheet and a badge reader. You are hired to give it a real database. Starting from a one-page brief you sketch the model, create the tables, and teach them to refuse bad rows with keys, checks and foreign keys. Then you untangle the spreadsheet into clean tables, speed up lookups with indexes you can read in the query plan, hide joins behind views, keep an audit trail with triggers, change several tables atomically, roll out a schema change without downtime, and finish with a booking schema that cannot be double-booked.
Each lesson adds one working part to your build.
Chapter 1
Turn a one-page brief into a model, then into tables that already refuse the obvious mistakes.
Chapter 2
Link tables with foreign keys, split a messy spreadsheet into clean tables, and make lookups fast.
Chapter 3
Smarter indexes, views as an interface, triggers that keep rules and records, and transactions that change many things at once.
Chapter 4
Write-or-update in one statement, flexible JSON, schema changes that never stop the app, and a booking schema that cannot collide.