Show me all the details of invoices created between 1989-09-03 and 2007-12-25.
select invoice_date from invoices where invoice_date > "1989-09-03" and invoice_date < "2007-12-25"
Now show me the distinct details of all the other invoices.
select distinct invoice_details from invoices where invoice_date < "1989-09-03" or invoice_date > "2007-12-25"