AnalystPath

Conversion Funnel Drop-off per Step

SQLMediumMid level~15 min

Problem

**[Classic — funnel analysis]**

For each consecutive funnel step, calculate the **drop-off percentage**
(how many users dropped off vs the previous step).

Return `step`, `users`, `drop_off_pct` (rounded to 2 dp), ordered by step_order.
Skip the first step (no previous step to compare).

Tables

Example rows — the live problem includes the full dataset.

funnel_events
event_iduser_idstepstep_order

Expected output

Your answer should return 3 rows with the columns step, users, drop_off_pct.

Starter code (SQL)

SELECT *
FROM funnel_events;

Solve this SQL question free

Write SQL and run it instantly in your browser — even on your phone. No signup needed to try.

Solution & explanation

Create a free account to unlock the optimal solution, a step-by-step explanation, and the hidden test cases that grade your answer.

Sign up free to unlock

Related SQL questions