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.

exercise-02.sql 183B

1234567
  1. SELECT invoice_number, invoice_total
  2. FROM invoices
  3. WHERE payment_total >
  4. (SELECT AVG(payment_total)
  5. FROM invoices
  6. WHERE payment_total > 0)
  7. ORDER BY invoice_total DESC