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_5C21.sql 200B

123456789
  1. 11
  2. 32020.42
  3. USE AP;
  4. SELECT COUNT(*) AS number_of_invoices,
  5. SUM(invoice_total - payment_total - credit_total) AS total_due
  6. FROM invoices
  7. WHERE invoice_total - payment_total - credit_total > 0;