Data and engineering

SQL from scratch

Real SQL, running in your browser, on the database of a fictional shop.

units
9
lessons
26
minutes
151
exercises
156

The first unit is free, no credit card required. The other 8 unlock when you buy the course or go Pro. Single course: $12.99, one-time payment.

What's in the course.

From SELECT to window functions, with queries that really run.

9 units, 26 lessons, and about 151 minutes of practice, a few minutes at a time.

Read data from a table: pick columns with SELECT and filter rows with WHERE.

In this unit, you'll learn to

  • Pick columns with SELECT
  • Read the right table with FROM
  • Filter rows with WHERE

Lessons

  1. SELECT and FROM, unlocked6 exercises · 5 min
  2. Filtering with WHERE, unlocked6 exercises · 6 min

Try it for real.

Ready to write some queries? Real exercises from this course, solved step by step, exactly as they appear in the app.

156 exercises across 6 types in this course

  • Write SQL82
  • Pick the best answer35
  • Fill in the code18
  • Match14
  • Put it in order6
  • Tap the chart1

Write SQL. You write the query, run it, and see the result instantly.

Your first query

Show the name and price of every product.

SELECT name, price FROM products;

Correct. Two columns, one table, no filter: all 8 rows of products appear.

Practice exams for this course

This course prepares you for these exams. Try free questions before you practice in the app.