Context: CREATE TABLE employees (employee_id VARCHAR, salary INTEGER)
Question: Find the employee id for all employees who earn more than the average salary.
Answer: SELECT employee_id FROM employees WHERE salary > (SELECT AVG(salary) FROM employees)