01
How do you find the top 5 customers by revenue?
Show answer
SELECT customer_id, SUM(amount) AS revenue FROM orders GROUP BY customer_id ORDER BY revenue DESC LIMIT 5;
Prepare with questions tailored to the role, required skills, and experience level.