Browse Source

oef4

master
willy vervest 2 years ago
parent
commit
91e1eab50f
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      Exec_4.sql

+ 7
- 0
Exec_4.sql View File

@@ -0,0 +1,7 @@
SELECT invoice_number,
invoice_total,
payment_total + credit_total AS payment_credit_total,
invoice_total - payment_total - credit_total AS balance_due
FROM invoices
WHERE balance_due > 50
ORDER BY balance_due DESC;

Loading…
Cancel
Save