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_2.sql 182B

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