prompt: List all employees in the IT department.

response: SELECT * FROM employees WHERE department = 'IT';


prompt: Find customers who placed orders over $500.

response: SELECT * FROM customers WHERE order_amount > 500;


prompt: Retrieve the names of all students enrolled in the Physics class.

response: SELECT name FROM students WHERE class = 'Physics';


prompt: Show all products with a price greater than $1000.

response: SELECT * FROM products WHERE price > 1000;


prompt: Get the total sales for each product category.

response: SELECT category, SUM(sales) FROM sales_data GROUP BY category;


prompt: Count the number of employees in each department.

response: SELECT department, COUNT(*) FROM employees GROUP BY department;


prompt: Retrieve orders made in the last 7 days.

response: SELECT * FROM orders WHERE order_date >= DATE_SUB(CURDATE(), INTERVAL 7 DAY);


prompt: Find the average salary of employees in the HR department.

response: SELECT AVG(salary) FROM employees WHERE department = 'HR';


prompt: Show the top 5 highest-paid employees.

response: SELECT * FROM employees ORDER BY salary DESC LIMIT 5;


prompt: Get the details of all customers who live in New York.

response: SELECT * FROM customers WHERE city = 'New York';