Home › Learn by Playing › Skills › SQL
Learn SQL free, step by step
Ask questions of data: filter, sort, join and summarise.
12 units · 104 cards · Basic → Intermediate → Advanced · free, no login
How it works
- Short cards like Instagram reels: read, answer, see why.
- Strict order: each unit builds on the one before.
- Quizzes, code puzzles and game breaks keep it fun.
- Missed cards come back for review. A daily goal of 6 cards builds a streak.
- Finish a level, then take a 10-question challenge for a self-check badge (not an official certificate).
- Works on any phone, even offline after the first visit.
Try a few cards
💡 Learn
SELECT and FROM
SELECT says which columns you want. FROM says which table to read. Use SELECT * to get all columns. DISTINCT removes repeated rows, and AS gives a column a new name in the result.
Try it
What does SELECT * mean?
- Count all the rows
- Show all columns of the table
- Show only the first column
- Show only the first row
Show the answer
✓ Show all columns of the table. The star * means every column. It does not limit the rows.
Try it
What does AS do in SELECT amount AS price FROM orders?
- Adds a new column called AS
- Changes the column name inside the table forever
- Gives the amount column a new name, price, in the result
- Keeps only rows where amount is a price
Show the answer
✓ Gives the amount column a new name, price, in the result. AS makes an alias. It changes the name only in the result, not in the table.
Full syllabus
Basic · 4 units
- SELECT and FROM
- WHERE
- ORDER BY
- COUNT, SUM, AVG
Intermediate · 4 units
- GROUP BY and HAVING
- JOINs
- Subqueries
- INSERT, UPDATE, DELETE
Advanced · 4 units
- Window functions
- CTEs
- Indexes and performance
- Star schema modelling
Kramavriddhi Learn is free and independent. Facts are checked against the official documentation. Badges are self-checks, not official certificates. Found a mistake or have an idea? Tell us.