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_87 (event VARCHAR, opponent VARCHAR)
system
Which event was against Pat Barry?
user
SELECT event FROM table_name_87 WHERE opponent = "pat barry"
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_87 (event VARCHAR, opponent VARCHAR)<|im_end|>
<|im_start|>user
Which event was against Pat Barry?<|im_end|>
