← Analyst Prep Kit · SQL Kit · Guides

SQL Drill

Get right into it and learn by writing queries. Each drill is the query you just typed plus one new thing. Nothing is graded, the answer is on screen the whole time, and the only job is typing it out.

Made for a desktop. The queries get long, and this page shows every line of them rather than shrinking them to fit a phone. A keyboard makes it a lot better.

Loading

Starting the SQL engine.

Type this query


      

Your editor

Ctrl+Enter runs · Ctrl+Space lists tables, columns and functions

Before you run it:

Run your query and the rows appear here.

Type the whole query, run it, then click Next drill.