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 table_name_43 (gold_medals VARCHAR, total_medals INTEGER)
system
How many gold medals for the school with less than 1 total?
user
SELECT COUNT(gold_medals) FROM table_name_43 WHERE total_medals < 1
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 table_name_43 (gold_medals VARCHAR, total_medals INTEGER)<|im_end|>
<|im_start|>user
How many gold medals for the school with less than 1 total?<|im_end|>
