medium
Natural Language to SQL
Generate a SQL query from a plain English description.
📝 Contenuto del prompt
Write a SQL query to select the top 5 customers with the highest total order amount from a table named 'orders' which has columns 'customer_id', 'order_date', and 'total_amount'.