The conversation between human and AI assistant.
[|Human|] Generate a valid SQL query to extract all customers with a given last name from a customer database.
[|AI|] ```sql
SELECT * FROM customers WHERE last_name = 'Smith';
```
[|Human|] 
Generate a valid SQL query to extract all customers with a given last name from a customer database.