Free SQL Practice Online

Free as in: no card on file, no email required to start, no Premium tier hiding the Hard problems. The whole catalog of 854 SQL problems is open at the same URL whether you sign in or not. The B2B side of the business pays for the Postgres instances; the practice site doesn't have to.

Free as in: no card on file, no email required to start, no Premium tier hiding the Hard problems. The whole catalog of 854 SQL problems is open at the same URL whether you sign in or not. The B2B side of the business pays for the Postgres instances; the practice site doesn't have to.

Prepare for the interview
01 / Open invite
02min.

Know the patterns before the interviewer asks them.

a SQL query, the same shape a screen would give you.
The diff against expected. Where ties broke. What you missed.
sandbox
1SELECT user_id,
2 COUNT(*) AS sessions
3FROM events
4WHERE ts >= NOW() - INTERVAL '7 day'
5
Execute your solution0.4s avg.
MicrosoftInterview question
Solve a problem
854
Free SQL problems
$0
No card, no trial
10
Seeds per submission
0
Paywalled features

What costs what, across the practice sites people actually use

Pricing reflects May 2026. The 'Easy' row is a useful tell: if a site rate-limits or paywalls Easy after the first one, the pattern continues higher up.

CapabilityDataDriven (this site)LeetCode SQLDataLemurStrataScratchHackerRank SQL
Easy SQLAll ~228 problemsCard on file required after 1FreeFreeFree
Medium SQLAll ~412 problemsPremium ($35/mo)Premium ($79/yr)Some free, most paidFree (Postgres flavor varies)
Hard SQLAll ~214 problemsPremiumPremiumPremiumMostly behind paywall
Company tags312 problems, 76 companiesPremium (most)PremiumPremiumNone
AI mock interviewerUnlimited, no capAdd-onPremium add-onPremium add-onNot offered
EXPLAIN / query planYes, every problemNot offeredNot offeredLimitedNot offered
Spaced-repetition queueFreePremiumPremiumPremiumNot offered
Card required to sign inNeverNo (Premium upsell only)No (Premium upsell only)No (Premium upsell only)No

How to verify the 'no paywall' claim in 30 seconds

3 places to look. None of them require trusting the marketing copy on this page.

Pricing page

The pricing page is the proof. There's no SQL Premium plan. Anything on this site that runs SQL runs it at the same tier.

Network requests

Open devtools, submit a query, watch the /grade call return 200. There's no entitlement check, no tier flag, no remote feature gate.

Privacy policy

The privacy policy spells out the data flows. Queries submitted aren't sold or shared with recruiters. The B2B product is unrelated to the practice catalog.

Sign-up flow, complete

2 paths through the front door. Path A is anonymous and is what 78% of weekly active users take. Path B is opt-in sign-in for cross-device sync.

# Path A: anonymous (most users start here)
GET /problems?domain=sql
  -> editor loads, schema panel renders, submit button live
POST /grade  body={query: "SELECT ..."}
  -> 200 OK, results return, progress stored in localStorage
# no email collected, no card, no account

# Path B: opt-in sign-in (for cross-device sync)
POST /auth/sign-in  body={email: "you@example.com"}
  -> magic link sent
GET /auth/callback?token=...
  -> session established, localStorage progress merged into the account
# still no card, no payment method, no Premium prompt

Submissions per day, last 30 days

The free catalog handles real volume. Every one of these submissions hit the same Postgres path that anonymous users get.

Submissions per day across the free SQL catalog, last 30 days
Apr 27
8,420
Apr 28
11,240
Apr 29
11,800
Apr 30
12,100
May 1
9,780
May 2
7,420
May 3
8,210
May 4
11,960
May 5
12,400
May 6
12,810
May 7
13,120
May 8
12,640

Weekend dips are visible. Every one of these submissions hit the same free Postgres path. No gating, no premium upsell at submission time.

The skeptical reader's objection list

4 reasonable questions about how a free site stays free, with concrete answers.

How is this sustainable?

The practice site is funded by a separate B2B product. Postgres replay containers cost $0.0003 per submission. With ~12,000 submissions a day at full traffic, the math is small enough that practice is a marketing channel, not a revenue stream that needs to monetize directly.

What if you start charging later?

If a paid tier ever exists, problems that were free will stay free for users who solved them before the change. Forward grandfathering, in the engineering blog when it ships. The current 854 problems will not be moved behind a paywall.

What's the catch with the AI mock interviewer?

There isn't one. The model calls cost roughly $0.04 per mock session at current pricing. Unlimited mock sessions per user. The hard rate limit is 1 concurrent session per IP, which exists to keep the inference queue responsive.

Do you sell the queries I write?

No. Submitted SQL is retained for grading and for catalog analytics (which problems get the most failed submissions, which seeds are too easy or too hard). The queries are not exposed to other users, recruiters, or third-party trainers. The privacy policy is the binding version.

Questions about the 'free' part

Is this really free or is there a catch I'm missing?+
No catch. There's no Premium tier on the practice site, no AI add-on, no daily submission cap, no problem count gate. The pricing page is empty of subscription products. The B2B side of the business funds the Postgres instances directly.
How does this compare to LeetCode SQL's free tier?+
LeetCode SQL's free tier covers Easy and a slice of Medium; Hard plus most company-tagged problems require Premium. Here, every difficulty tier and every company tag is open at the same URL. The grader is also stricter (10-seed replay vs LeetCode's single fixed dataset), which catches a different and more useful class of bug.
Will the free version get downgraded later?+
Forward grandfathering applies if anything changes. Problems that are free today will stay free for users who solved them, even if a paid tier appears for new problems. The 854 problems currently in the catalog are not going behind a paywall.
Do I have to make an account?+
No. Anonymous use is the default path. Progress is stored in browser localStorage. Sign-in is optional and only adds cross-device sync; the moment you sign in, the local progress merges into the account.
What data do you collect?+
Submitted queries, pass/fail results, time-on-problem, and standard product analytics (page views, session duration). Email if you sign in. No card details (none are collected), no recruiter-targeted data sharing. The privacy policy lists each flow explicitly.
What's actually paywalled anywhere on the site?+
The B2B product at a different URL is paid. The DD75 study plan ships with a 1-time purchase for users who want a structured 75-day plan. Neither touches the SQL practice catalog: the catalog stays free regardless of whether DD75 exists.
02 / Why practice

Open a problem and start typing

  1. 01

    Active recall beats re-reading by 50%

    Cognitive-science meta-reviews (Dunlosky et al., 2013) rank practice testing as a top-tier study technique, while re-reading and highlighting rank near the bottom

  2. 02

    76% of hiring managers reject on the coding task, not the resume

    From HackerRank's 2024 Developer Skills Report. Candidates who look strong on paper still fail the live screen if they haven't done timed, executable practice

  3. 03

    Five problem shapes cover 80% of data engineer loops

    Dedup, sessionization, top-N-per-group, slowly-changing dimensions, partition tricks. Writing the shapes by hand turns the unfamiliar into pattern recognition

Related entry points