← SQL Analyst Starter

Final project · SQLite

Build a checked paid-order report

Project dataset

My saved work →
Project datasetFresh dataset challenge →Each dataset keeps its own attempts.

Your work

Active 0:00 · Paused 0s

Keep a handoff you can replay

Check your current answer, then download the output and its report. The report includes the source, answer and each check so you can review what passed and what needs work.

To replay your work, open this task with the same dataset, import your answer and check it again.

Show the reference answer
SELECT region,COUNT(*) AS order_count,SUM(amount) AS paid_revenue FROM orders WHERE status='paid' AND ordered_at>='2026-09-01' AND ordered_at<'2026-10-01' GROUP BY region ORDER BY paid_revenue DESC,region ASC;

Group the full paid date cohort, including unmatched customers and NULL regions. A customer join is not needed and must not reduce the cohort.