About the “E-Commerce Checkout Drop-off Funnel Analysis” SQL Problem
Business Scenario
Growth engineers measure user drop-off across the 4 core steps of the e-commerce purchase funnel: Cart -> Shipping -> Payment -> Confirmation.
Expected Output & Criteria
Purchase funnel step counts and overall conversion percentage.
Database Table Schema (PostgreSQL DDL)
PostgreSQL 16 WASMThis challenge executes directly against the following relational schema in your browser:
CREATE TABLE funnel_events (
event_id INT PRIMARY KEY,
session_id VARCHAR(20) NOT NULL,
funnel_step VARCHAR(30) NOT NULL
);Target SQL Clauses & Operators
COUNTROUND
Want more Business Analytics practice?
Explore the full syllabus of 14 exercises, syntax guides, and interview pitfalls.