Woman resting her chin on her hand while looking at a laptop, with a coffee mug and a notebook, to illustrate SQL practice for interviews

SQL Practice for Interviews: What Each Platform Says

Last checked: Nov 19, 2026

This page is a guide to SQL practice for interviews, comparing seven sites using only what each site’s own pages say. I did not test the sites, I am not ranking them, and I did not find an independent source comparing them. Free tiers and prices change without notice, and several of these pages do not say whether the site is free at all, so check the site before you plan around it.

Related: for what the sources say about AI tools and SQL in data engineering work, see Using AI Tools in Data Engineering Work: What the Sources Say.

Sites for learning the basics

  • SQLBolt. Its page describes interactive lessons in the browser. Each lesson introduces a concept and ends with an interactive exercise. Topics include SELECT queries, filtering and sorting, joins, NULLs, aggregates, query execution order, inserting and updating rows, creating and altering tables, and subqueries. The page does not mention cost, an account, or interview practice.
  • SQLZoo. Its page describes an interactive SQL tutorial covering SQL Server, Oracle, MySQL, DB2, Mimer, PostgreSQL, SQLite and Access. Tutorials include SELECT basics, SUM and COUNT, JOIN, more JOIN operations, handling NULL and self joins. Logging in is “encouraged” but “not mandatory.” The page does not mention cost or interviews, and it shows a last-modified date of June 1, 2012, so treat the content as long-standing rather than recently revised.
  • PG Exercises. Its about page, written by Alisdair Owens, describes SQL practice with a focus on PostgreSQL. Topics are basic queries, joins and subqueries, modifying data, aggregates, dates, strings and recursive queries. The page does not mention cost or accounts, and it has no date.

Sites built around interview questions

  • DataLemur. Its pricing page shows a Premium plan at $15 monthly or $60 yearly, and a $300 package that adds coaching, a book and lifetime access. It says Premium includes “100+ SQL Interview questions” with hints and full solutions. The page does not describe a free tier, so check what you can do without paying before you subscribe.
  • StrataScratch. Its pricing page lists a Free plan at $0 with no card required, which it describes as 75+ coding questions with solutions and hints, plus “limited” interview content. Paid plans are shown at $24 monthly, $139 yearly and $289 lifetime, and are described as full access to 1,000+ coding questions in SQL, Python and R, among other features.
  • HackerRank. Its SQL page lists challenge categories (Basic Select, Advanced Select, Aggregation, Basic Join, Advanced Join, Alternative Queries) and three skill levels (Basic, Intermediate, Advanced). It does not say whether the site is free or which SQL dialect it uses.
  • LeetCode. Its SQL 50 study plan page describes 50 SQL questions, covering basic to intermediate topics, billed as “best for 1 month of prep time.” The page does not say whether the plan requires a paid subscription or which database it uses. The main Database problem page did not show its contents when I read it, so I do not report anything about it.

Prices above are as each page showed them on the day I checked. They carry no effective date, so they may have changed.

What these pages do not tell you

  • Whether a free tier is enough to prepare for your interviews.
  • Which SQL dialect your interviewer or take-home test will use. SQLZoo and PG Exercises name their engines; the other pages mostly do not.
  • How closely any site’s questions match real interviews. None of the pages claims to.

A practice approach (my suggestion, not from a source)

This is my own suggestion for using the list above, not something the sites or any other source prescribes.

  1. Use one of the learning sites to fill gaps in the basics (joins, aggregates, NULL handling).
  2. Move to an interview-style question set and work problems before looking at solutions.
  3. Time yourself on some problems and explain your approach out loud, since interviews are not silent.
  4. Confirm which SQL dialect and tools your employer uses, and practice in that one if you can.

For how SQL fits into the rest of a data interview, see the interview loop guide and what to expect in a system design interview. For the overall plan, see the job search roadmap.

Sources

Last checked Nov 19, 2026. Prices and free-tier details may have changed.

Similar Posts