medium
Generate Complex SQL Query
Write a SQL query to extract specific insights from a database schema.
📝 Contenuto del prompt
Write a PostgreSQL query to find the top 5 customers who spent the most money in the last month. Assume a table named 'orders' with columns 'customer_id', 'total_amount', and 'order_date'.