Find the invoice numbers which are created before 1989-09-03 or after 2007-12-25.
CREATE TABLE invoices (invoice_number VARCHAR, invoice_date VARCHAR)
SELECT invoice_number FROM invoices WHERE invoice_date < "1989-09-03" OR invoice_date > "2007-12-25"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE invoices (invoice_number VARCHAR, invoice_date VARCHAR) Question: Find the invoice numbers which are created before 1989-09-03 or after 2007-12-25. [/INST] SELECT invoice_number FROM invoices WHERE invoice_date < "1989-09-03" OR invoice_date > "2007-12-25" </s>