DrawCode

Top Customers by Revenue

Given `orders(order_id, customer_id, amount)` and `customers(customer_id, name)`, write a query returning the top 5 customers by total revenue with their names.

Browse free without an account. Sign in to save progress, sync likes, and open your canvas workspace.