sqlstreak

Free SQL skills test

Free SQL test: find your level in about 10 minutes

Real queries on a real database, not trivia. Tasks get harder as you go and the test stops when you've reached your level. You'll get a score, your strengths and gaps, and the lesson to start with.

No account needed. Sign up afterwards to start the course at your level.

  • 17 tasks at most across 8 levels, from SELECT to window functions
  • Stops early once you've reached your level
  • Strengths, gaps and the lesson to start with
  • A score card you can share

What the test covers

  1. LEVEL 1

    SELECT, WHERE and ORDER BY

  2. LEVEL 2

    AND/OR, patterns, NULL and CASE

  3. LEVEL 3

    Counting, GROUP BY and HAVING

  4. LEVEL 4

    Joining tables

  5. LEVEL 5

    Self-joins, dates and messy data

  6. LEVEL 6

    Changing data and designing tables

  7. LEVEL 7

    Subqueries and CTEs

  8. LEVEL 8

    Window functions

Questions about the SQL test

How does the SQL test work?
You get real tasks on small sample databases: mostly writing queries in an editor, plus a few multiple-choice questions. Tasks are grouped into 8 levels, from SELECT basics to window functions. The test stops once you've clearly reached your level, so most people finish in 5 to 15 minutes.
Is it really free? Do I need an account?
Yes, it's free and you don't need an account. Your result gets a link you can share. If you sign up, we can mark the lessons you already know as placed, so you start at the right spot.
Is this a good SQL test for a job interview?
It's good practice: interviewers ask for the same skills, like filtering, GROUP BY, joins, subqueries and window functions, and you write real queries rather than pick answers. It isn't an official certification, but it shows you exactly which topics to brush up before the interview.
PostgreSQL or SQLite?
Pick either. Both run for real in your browser, and every task works in both.
What do I get at the end?
Your level (with a plain-words band from Beginner to Advanced), how many tasks you got right, the topics you're strong at, the lessons that cover your gaps, and the lesson to start with.

Want more practice first? Try the SQL interview questions guide or the free SQL tools.