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 (crowd INTEGER, home_team VARCHAR)
system
What is the sum of Crowd when Essendon was the home team?
user
SELECT SUM(crowd) FROM table_name_33 WHERE home_team = "essendon"
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 (crowd INTEGER, home_team VARCHAR)<|im_end|>
<|im_start|>user
What is the sum of Crowd when Essendon was the home team?<|im_end|>
