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 Templates (template_type_code VARCHAR)
system
How many templates have template type code CV?
user
SELECT COUNT(*) FROM Templates WHERE template_type_code = "CV"
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 Templates (template_type_code VARCHAR)<|im_end|>
<|im_start|>user
How many templates have template type code CV?<|im_end|>
