← SQL Analyst Starter

Final project · SQLite

Build a checked paid-order report

My saved work →

Your work

Active 0:00 · Paused 0s

Show the reference answer
SELECT o.region, COUNT(*) AS order_count,SUM(o.amount) AS paid_revenue FROM orders o WHERE o.status='paid' GROUP BY o.region ORDER BY paid_revenue DESC,region ASC

The report must include East, West and North; preserve all paid orders.