SQL test: how good are your SQL skills?

The free skills assessment shows in 15 minutes where your SQL skills stand and which lesson to take next. You write every query yourself, against a real database in your browser, no sign-up needed.

A practice test by LearnThisNext. It is not an official test by an employer, a testing company or a database vendor. Only you see your result, and nothing is saved.

Skills assessment: where do you stand?

Ten tasks in 15 minutes, getting harder as you go: three from level 1 of the SQL course (querying and filtering), three from level 2 (summarizing with GROUP BY), two from level 3 (joining tables) and two from level 5 (WITH and window functions).

How the tasks work

Each task shows the tables of the practice database, a small online shop with customers, products, employees, orders and order items. You type your query, run it with "Run" (or Ctrl+Enter) as often as you like and submit it when the result looks right. There are no hints or solutions during the test.

What is checked is the result, not the wording. A join or a subquery is fine, as long as the right rows and columns come out. The server also checks your query on changed data you do not see, so a typed-in result does not count.

What the assessment result means

A level counts as reached when you get at least 60 percent of its tasks right, so two of three or two of two, and every level before it is reached too.

LevelWhat you can do reliably
BasicSELECT, WHERE with AND and OR, IN, BETWEEN, LIKE, NULL, ORDER BY, DISTINCT and calculations in queries
Intermediateplus COUNT, SUM and AVG, GROUP BY and HAVING, CASE WHEN and text and date functions
Advancedplus JOIN and LEFT JOIN, several tables, subqueries and EXISTS
Expertplus WITH (CTEs) and window functions such as ROW_NUMBER, RANK, running totals and LAG

Below the level you see every topic on its own, with a link to the matching lesson. The first recommendation is the earliest topic in the learning path that you got wrong.

How accurate is the result?

Ten tasks show a direction, nothing more. A typo can cost you a task. Feel free to take the test twice, every run draws new tasks. If the result is the same both times, you can rely on it.

Applying for a job that needs SQL?

Then also practise with the SQL assessment test. It works like a test in a hiring process: twelve tasks in 25 minutes, from filtering and GROUP BY to inner and left joins, window functions and WITH, with results by topic. This skills assessment tells you where you stand. The assessment test shows whether you handle all the usual topics under time pressure. For the questions in the interview itself, see SQL interview questions.

What next?

In the SQL course you close the gaps lesson by lesson, with exercises on the same database. Level 1 is free. At the end comes the SQL final test: 20 tasks in 45 minutes. Pass it and you get a LearnThisNext certificate with a verification link that you can add to job applications and LinkedIn.

Frequently asked questions

Does the test cost anything?

No. The test is free, needs no account and can be repeated as often as you like. The same goes for the assessment test.

Is my result saved?

No. You see it right after the test, then it is gone. Even when you are logged in, the test does not change your learning progress.

Do I need to install anything?

No. The queries run on our server in a practice database that is loaded fresh for every query. All you need is a browser.

Which SQL is used?

The practice database is SQLite. You write SELECT, WHERE, GROUP BY, JOIN and the other basics the same way as in other databases. The differences are mostly in individual functions, for example for text and dates. More on that under MySQL, PostgreSQL and SQL Server.

Do I get a certificate?

Not for this test. There is a certificate for the final test at the end of the SQL course. It is a LearnThisNext certificate, not a certification by any database vendor.

From your result to the next level

In the SQL course you work your way up level by level, with exercises for every topic. Premium unlocks every exercise and the final test with certificate at the end.

Go to the SQL course See Premium

Write to us

Choose language

Select your preferred language