SELECT product_category, SUM(amount) AS total_revenue FROM orders GROUP BY product_category ORDER BY total_revenue DESC LIMIT 3;
Write your query and click "Run Query" (Ctrl + Enter) to see results and testcase validation.