Complete SQL course

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

52lessons
9modules
52lessons with practice tasks and variants
Learn by doing

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.

Choose where to start

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.

Your progress

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.

Full syllabus

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.

Module 0

Orientation

Learn the basics you need to understand the data and use the course.

3 lessons
Module 1

Selecting data

Choose which information you want to see, without changing it.

3 lessons
Module 2

Filtering data

Show only the rows that answer your question.

7 lessons
Module 3

Sorting and summarising

Sort results and turn many rows into clear answers.

6 lessons
Module 4

Relating tables

Connect data from several tables and check that the rows make sense.

5 lessons
Module 5

Advanced queries

Break problems down, combine results and write more expressive calculations.

15 lessons
Module 6

Modifying data

Add, update and delete rows using a safe process.

5 lessons
Module 7

Designing tables

Create tables and rules that keep data consistent.

6 lessons
Module 8

Putting it together

Apply what you have learnt in a project and decide what to revise.

2 lessons
Additional material

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.

SQL Tools

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.

Completed lessons, drafts and attempts saved in this browser will be deleted. The content and the colour mode will not change.

Do you want to reset your progress?

Completed lessons, drafts, and SQL Lab attempts saved in this browser will be deleted. Course content will still be available.