human
Generate a correct SQL query to extract the following data.
Input:
Retrieve the names, ages and cities of customers who are over 40 years old.
gpt
SELECT name, age, city FROM customers WHERE age > 40;
alpaca_gpt4_data_24903