Find the distinct details of invoices which are created before 1989-09-03 or after 2007-12-25.
create table invoices (invoice_details varchar, invoice_date varchar, PRIMARY KEY (invoice_details))
select distinct invoice_details from invoices where invoice_date < "1989-09-03" or invoice_date > "2007-12-25"