You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE authors (lname VARCHAR, fname VARCHAR)
system
Find the last name of the author with first name "Amal".
user
SELECT lname FROM authors WHERE fname = "Amal"
assistant
<|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE authors (lname VARCHAR, fname VARCHAR)<|im_end|>
<|im_start|>user
Find the last name of the author with first name "Amal".<|im_end|>
