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.

Exec_4.sql 240B

1234567
  1. SELECT invoice_number,
  2. invoice_total,
  3. payment_total + credit_total AS payment_credit_total,
  4. invoice_total - payment_total - credit_total AS balance_due
  5. FROM invoices
  6. WHERE balance_due > 50
  7. ORDER BY balance_due DESC;