medium
SQL Query Generator
Generates SQL queries based on natural language descriptions of data requirements.
📝 Conteúdo do Prompt
Write a SQL query to select all customer names and their total order amounts from the tables 'customers' and 'orders', joining them on customer_id. Only include customers who have spent more than 500 dollars in total.