chaturIQ
Free · no sign-up · runs in your browser

Spot the SQL trap before your interviewer does. 

3 traps from real analyst interviews. Each query looks right. Run it, watch the table act it out, and decide: is the number right?

Or browse 27 free interview questions →
  1. 1Trap 1
    Revenue
  2. 2Trap 2
    Duplicates
  3. 3Trap 3
    NULLs
  4. Keep your
    streak

Your XP and streak start now. Sign in only if you want to keep them.

Mohit Khandelwal

Made by Mohit Khandelwal, 5+ years in analytics. Each trap is a classic SQL mistake: the query runs, and the number still looks right. Read the story

Ratta nahi, riyaaz.

Trap 1 of 3 · The cancelled order+10 XP if you spot it

What's the total revenue from Mumbai? This query looks right.

order_idcustomercityamountstatuscoupon
101AshaMumbai1200completedNEW10
102RaviMumbai800cancelledNULL
103AshaMumbai500completedNULL
104NehaDelhi900completedFEST
105KabirMumbai300completedNULL
106RaviPune700completedNULL
SELECT SUM(amount) AS revenue
FROM orders
WHERE city = 'Mumbai';

Runs in your browser in about a secondRuns in your browser. Edit it, or just run it first.

Mohit Khandelwal

Made by Mohit Khandelwal, 5+ years in analytics. Each trap is a classic SQL mistake: the query runs, and the number still looks right. Read the story

Ratta nahi, riyaaz.

1 · Run

Press Run

No account, no setup. The query runs on 6 rows you can see.

SELECT SUM(amount) AS revenue
FROM orders
WHERE city = 'Mumbai';
Run
2 · Watch

The table acts it out

Rows light up as SQL picks them. You see 1,200 + 800 + 500 + 300 add up.

customeramountstatus
Asha1200completed
Ravi800cancelled
Asha500completed
Neha900completed
Kabir300completed
Ravi700completed
3 · Decide

“Is 2,800 right?”

Decide before you fix. Hint: look at the status column.

revenue
2,800
👍 Looks right🤔 Something's off

27 more interview questions. Free, no sign-up.

Same idea: a small table, a query that looks right, a trap. Your XP from these counts too.

See all 27 →

What you keep when you sign in

Your streak

A streak day is 20 XP (two traps). Come back tomorrow to make it 2 days.

+10 XP a trap

From the 3 traps and the free questions. Saved to your profile, on any device.

325 questions

Plus 28 lessons and timed level tests, on 35 messy business tables. Free.

What ChaturIQ is

A free website for learning SQL and practising for analyst interviews. It has 28 lessons, 325 practice questions with every trap explained, and timed level tests, all on 35 realistic business tables. Everything runs in your browser; there is nothing to install or pay for.

Why we ask you to sign in

The traps and the 27 interview questions need no account. Sign in with Google only to save your progress, XP and streaks. Google shares your name, email address and profile photo, and we use them only for your ChaturIQ account. We never sell your data or show ads. Read our privacy policy and terms.