Beginner
Write a SQL Customer Report Query
Construct a SQL query to join two tables and generate a report of recent customer purchases.
📝 Treść promptu
Write a SQL query to list the top 10 customers who made the highest total purchases in the last month. Join the 'Customers' table (with columns customer_id, customer_name) and the 'Orders' table (with columns order_id, customer_id, order_date, total_amount). Order the results by total_amount in descending order.