ConceptStep · learning platform for computer science

SQL and databases

Learning paths · SQL

From theory to practice

Learn SQL through practice

Start with relational databases and continue with SELECT and WHERE. Each lesson includes explanations, worked examples, guided exercises and hands-on practice with DB Browser for SQLite.

Two ways to work, one database

Try queries immediately in the lab. You can then download biblioteca.db, continue in DB Browser for SQLite and reopen the modified database here.

The exercises are for practice: check your result, receive hints and try again until the method is clear.

Official DB Browser for SQLite website ↗
Lesson 1

Databases and SQLite

Available

From tables to the first biblioteca.db file: guided DB Browser for SQLite lab.

3 practical exercises

Open lesson →
Lesson 2

Introduction to SQL: SELECT and WHERE

Available

Query biblioteca.db, choose columns and filter rows using comparisons and logical operators.

10 practical exercises

Open lesson →
Lesson 3

Sorting and limiting results

Available

Sort books by year and author, choose how many results to display and learn why LIMIT needs an explicit ordering.

8 practical exercises

Open lesson →
Lesson 4

Advanced filters: LIKE, IN, BETWEEN and NULL

Available

Search for text fragments, select multiple values, use ranges and distinguish NULL from zero and the empty string.

10 practical exercises

Open lesson →
Lesson 5

Counting and summarizing data

Available

Use COUNT, DISTINCT, MIN, MAX, AVG and SUM to turn many rows into a few meaningful summaries.

8 practical exercises

Open lesson →
Lesson 6

Grouping results: GROUP BY and HAVING

Available

Get statistics by genre and author, filter books with WHERE and filter groups with HAVING.

10 practical exercises

Open lesson →
Lesson 7

SQL review: supermarket explorers

Available

Guided SQL review on real food data, with hints and no JOINs.

10 practical exercises

Open lesson →
Lesson 8

SQL review: food data detectives

Available

Guided SQL review on real food data, with hints and no JOINs.

10 practical exercises

Open lesson →
GUIDED LEARNING PATHS

Want to choose the next skill to develop?