← SQL Analyst Starter My saved work →
Independent practice · SQLite
Calculate paid revenue by region
Practice dataset
Your work
Active 0:00 · Paused 0sKeep 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, SUM(amount) AS paid_revenue FROM orders WHERE status='paid' GROUP BY region
Keep the North sale and the East orphan order; customer existence is not a condition.