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_5C40.sql 221B

12345678
  1. USE AP;
  2. SELECT 'After 1/1/2018' AS selection_date,
  3. COUNT(*) AS number_of_invoices,
  4. ROUND(AVG(invoice_total), 2) AS avg_invoice_amt,
  5. SUM(invoice_total) AS total_invoice_amt
  6. FROM invoices
  7. WHERE invoice_date > '2018-01-01';