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.
1234567 |
- USE ap;
- SELECT COUNT(*) AS number_of_invoices,
- sum(invoice_total - payment_total - credit_total)AS total_due
- FROM invoices
- WHERE invoice_total - payment_total - credit_total > 0;
-
-
|