Intermediate
SQL Query Generator
Generate a SQL query based on a specific data requirement description.
📝 Contenuto del prompt
I have two tables: 'Orders' (order_id, customer_id, order_date, total_amount) and 'Customers' (customer_id, name, city). Write a SQL query to find the top 5 customers by total spending who live in 'New York'.