You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

exer_5C19.sql 303B

12345678910
  1. USE AP;
  2. SELECT 'Active' AS source, invoice_number, invoice_date, invoice_total
  3. FROM invoices
  4. WHERE invoice_date >= '2018_06_01'
  5. UNION
  6. SELECT 'Paid' AS source, invoice_number, invoice_date, invoice_total
  7. FROM invoices
  8. WHERE invoice_date >= '2018_06_01'
  9. ORDER BY invoice_total DESC;