willy vervest 2 anni fa
parent
commit
91e1eab50f
1 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  1. 7
    0
      Exec_4.sql

+ 7
- 0
Exec_4.sql Vedi 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…
Annulla
Salva