Intermediate
SQL Query Builder
Generate SQL queries based on natural language descriptions.
📝 プロンプトの内容
Act as a SQL expert. Write a SQL query to select the top 5 customers with the highest total order amount from a table named 'orders' that has columns 'customer_id', 'order_id', and 'amount'. Join this with a 'customers' table to get their names.