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.

exer_5C45.sql 185B

12345678
  1. USE AP;
  2. SELECT vendor_id, ROUND(AVG(invoice_total), 2)
  3. AS average_invoice_amount
  4. FROM invoices
  5. GROUP BY vendor_id
  6. HAVING AVG(invoice_total) > 2000
  7. ORDER BY average_invoice_amount DESC;