medium
SQL Query Generator
Generates SQL queries based on natural language requirements.
📝 Promptens innehåll
Write a SQL query for a PostgreSQL database. I need to retrieve the names and email addresses of all customers who have placed an order totaling more than $500 in the last month. The relevant tables are 'customers' (id, name, email) and 'orders' (id, customer_id, total_amount, order_date).