Interview prep that runs in your browser

SQL Interview Practice for Data Analysts

Reading SQL answers is not the same as writing them. Here you get real interview-style questions on six connected tables, write your query in the browser, run it and find out straight away whether it returns the right result.

  • Free to start
  • Runs in your browser
  • Nothing to install
SQL questions
45+
connected tables
6
installs
0
Who it's for

Built for the way you work

The situations people open the SQL Interview Practice for, most often.

Job seekers01

Prepare for the SQL round

Work through the kind of SQL questions analyst interviews actually ask, and see straight away whether your answer is right.

Students02

Practise without a setup

No database, licence or install to sort out first. Open the page on any laptop and start answering.

Working analysts03

Keep your skills sharp

Ten minutes on a few Medium or Hard questions is a quick way to stay fluent between projects.

What you get

Joins, group by and window functions on six connected tables. Runs in your browser.

Real interview topics

Joins, group by and having, subqueries, CTEs and window functions.

Runs in your browser

Queries run with DuckDB, whose SQL is close to PostgreSQL. Nothing to install.

Checked instantly

Your result is compared with the expected answer as soon as you run it.

Free playground

Write any query against the same tables to explore before you attempt a question.

How it works

Start practising in 3 steps

The SQL Interview Practice, step by step
Before you start

Safe to try. Easy to trust.

Free to start

No card needed. Upgrade only for the extras listed under Plans.

Runs in your browser

Nothing to install and nothing to configure. Open the page and start.

Windows and Mac

Works on any laptop with a modern browser, at work or at home.

Answers checked instantly

Every answer is compared with the expected result the moment you run it.

Plans

Start free. Pay only for the extras.

Use the SQL Interview Practice for free. Upgrade only for the parts below.

Free

No card needed
  • Every Easy and Medium question
  • Hints and the free playground
  • Leaderboard and badges when signed in
Start free

Lifetime

Most popular

Billed yearly

  • Hard questions
  • Worked solutions for every question
Get Lifetime

Pro

Billed monthly
  • Everything in Lifetime
See Pro price
Guide

What SQL questions come up in data analyst interviews

Analyst interviews mostly test whether you can turn a business question into a correct query: totals per group, top N per category, month-over-month change, customers who did one thing but not another, and duplicates.

Window functions such as ROW_NUMBER, RANK, LAG and running SUM are where most candidates slip, so a good share of the questions here use them.

Practising on connected tables matters because the hard part is usually choosing the right join and grain, not remembering syntax.

FAQ

Questions people ask first

Something else? Write to us.

Which SQL dialect is used?

DuckDB, which is very close to PostgreSQL. Standard SQL you would write for MySQL, SQL Server or PostgreSQL works with small changes at most.

Do I need to sign up?

No. You can start answering straight away. Sign in only if you want to save your score on the leaderboard.

Is my query sent to a server?

No. It runs in your browser. Only your score is sent if you choose to save it.

Try the SQL Interview Practice now

Joins, group by and window functions on six connected tables. Runs in your browser.

More free tools

See all tools
Practice

Measures, CALCULATE and time intelligence on a star schema, checked against Power BI.

Start DAX practiceHow it works
Practice

Lookups, SUMIFS and dynamic arrays in a real spreadsheet, checked against Excel.

Start Excel practiceHow it works
Practice

Core Python and pandas questions running on real Python in your browser.

Start Python practiceHow it works