intermediate
SQL Query Generation
Write an SQL query to solve a specific data problem.
📝 Содержимое промпта
Write an SQL query to select the top 5 customers with the highest total order amount from a table named 'orders'. Group the results by customer ID and sort them in descending order of total amount.