Show ids for all templates not used by any document.
CREATE TABLE Documents (template_id VARCHAR); CREATE TABLE Templates (template_id VARCHAR)
SELECT template_id FROM Templates EXCEPT SELECT template_id FROM Documents
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Documents (template_id VARCHAR); CREATE TABLE Templates (template_id VARCHAR) Question: Show ids for all templates not used by any document. [/INST] SELECT template_id FROM Templates EXCEPT SELECT template_id FROM Documents </s>