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.

123456
  1. SELECT invoice_number,
  2. invoice_date,
  3. invoice_total - payment_total - credit_total AS balance_due,
  4. payment_date
  5. FROM invoices
  6. WHERE payment_date IS NULL