Learn SQL from scratch, with practice in every lesson
Work through 52 lessons: first you understand the data, then you write queries, and finally you complete a whole project.
We may earn a commission if you purchase through these links. Details
You can also learn by playing
SQL Quest turns the course fundamentals into 30 progressive missions. Choose Arcane Academy, Mission Cosmos or District 404, write real SQL and switch worlds without losing progress.
A supplementary path
It does not replace the course explanations: it turns them into short challenges to practise and reinforce what you have learnt.
3 worlds · shared local progress · no account · queries processed in your browser.
A clear option for every situation
Start from scratch if you are a beginner. If you already know some SQL, check your level or choose a path by goal.
I am starting from scratch
Learn the fundamentals and progress in the recommended order.
Start with the first lesson → Short test · no scoreI want to check my level
Answer eight situations and get a suggested starting point.
Check my level → Learning paths by goalI am looking for a specific path
Choose a path for data analysis, development or a refresher.
See the paths →Continue where you left off
Your progress and drafts are saved only in this browser.
You can open any lesson, and reset your progress whenever you like.52 lessons organised into 9 modules
Follow the recommended order or go straight to the topic you need. The review practice tasks combine several concepts.
Orientation
Learn the basics you need to understand the data and use the course.
Selecting data
Choose which information you want to see, without changing it.
Filtering data
Show only the rows that answer your question.
Sorting and summarising
Sort results and turn many rows into clear answers.
Relating tables
Connect data from several tables and check that the rows make sense.
Advanced queries
Break problems down, combine results and write more expressive calculations.
Modifying data
Add, update and delete rows using a safe process.
Designing tables
Create tables and rules that keep data consistent.
Putting it together
Apply what you have learnt in a project and decide what to revise.
Reviews that bring several concepts together
These pages combine topics that the main path covers separately. Use them for review, not as a starting point.
Try out and review queries outside the lessons
When you want to experiment on your own, you can run SQL, break down a query, or format it without leaving AprenderSQL.es.