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_26781017_1 (motogp_winner VARCHAR, circuit VARCHAR)
system
How many MotoGP winners were there when the circuit was Catalunya?
user
SELECT COUNT(motogp_winner) FROM table_26781017_1 WHERE circuit = "Catalunya"
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_26781017_1 (motogp_winner VARCHAR, circuit VARCHAR)<|im_end|>
<|im_start|>user
How many MotoGP winners were there when the circuit was Catalunya?<|im_end|>
