AiTeky Original Interactive Learning & Practice Intermediate
SQL at work
Questions inside questions with subqueries, NOT EXISTS and chained CTEs; why databases are normalised and why reports use a star schema; and the timed SQL problems interviewers set, solved on a real grocery-app database.
You know SELECT, WHERE, GROUP BY and JOIN. At work, the questions get longer: "customers above the average, by city", "which products sell above their own category's average", "the share of customers who came back". This course shows how to break such questions into steps, how the tables behind them are designed, and how to solve the classic interview problems against the clock.
Every query runs in your browser on the same grocery-app database as the SQL course: customers, products, orders and order lines from July to September 2026. The data is made up.
- Learn lessons explain one idea at a time and let you run it.
- Industry ready lessons decide and justify, and end with interview questions.
Start with the SQL course if SELECT and JOIN are new to you.
- ▶ Run code in your browser. Nothing to install
- ✓ Exercises that check themselves
- 📖 Tap a word to see what it means
Locked. Sign up free
Learn
Understand each idea with everyday examples. No coding background needed.
- 01 30 min Free sample 🔒 AiTeky Pass Subqueries and common table expressions (CTEs) Compare a value with an average worked out by a subquery, compare each row with its own group using a correlated subquery, find customers with no delivered order using NOT EXISTS, and chain CTEs into a readable multi-step answer you can check step by step.
- 02 30 min 🔒 AiTeky Pass Data modelling: normalisation, star schemas, facts and dimensions See why the app's database keeps each fact in one place, break a flat export with one careless update, then build a small star schema of one fact table and three dimensions and answer a report question from it.
Industry ready
Real problems from real jobs, and the questions interviewers ask about them.

