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 documents (document_type_code VARCHAR)
system
Find the types of documents with more than 4 documents.
user
SELECT document_type_code FROM documents GROUP BY document_type_code HAVING COUNT(*) > 4
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 documents (document_type_code VARCHAR)<|im_end|>
<|im_start|>user
Find the types of documents with more than 4 documents.<|im_end|>
