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_5C23.sql 184B

1234567
  1. USE ap;
  2. SELECT COUNT(*) AS number_of_invoices,
  3. sum(invoice_total - payment_total - credit_total)AS total_due
  4. FROM invoices
  5. WHERE invoice_total - payment_total - credit_total > 0;