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_40 (total_goals VARCHAR, fa_cup_goals VARCHAR, total_apps VARCHAR, name VARCHAR)
system
how many times is the total apps 1 and the fa cup goals less than 0 for bob mountain?
user
SELECT COUNT(total_goals) FROM table_name_40 WHERE total_apps = "1" AND name = "bob mountain" AND fa_cup_goals < 0
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_40 (total_goals VARCHAR, fa_cup_goals VARCHAR, total_apps VARCHAR, name VARCHAR)<|im_end|>
<|im_start|>user
how many times is the total apps 1 and the fa cup goals less than 0 for bob mountain?<|im_end|>
