user
Task: Construct a query to find all the records in a given database that match a certain criteria.
Input: table name: users; criteria: status = "active"
Output:
assistant
SELECT * FROM users WHERE status = 'active';