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_33 (record_medal_event VARCHAR, medal_count VARCHAR, sport VARCHAR, athlete VARCHAR)
system
What record medal event has athletics as the sport, with robert garrett as the athlete, and a medal count less than 3?
user
SELECT record_medal_event FROM table_name_33 WHERE sport = "athletics" AND athlete = "robert garrett" AND medal_count < 3
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_33 (record_medal_event VARCHAR, medal_count VARCHAR, sport VARCHAR, athlete VARCHAR)<|im_end|>
<|im_start|>user
What record medal event has athletics as the sport, with robert garrett as the athlete, and a medal count less than 3?<|im_end|>
