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 174B

12345
  1. SELECT vendor_name, SUM(payment_total) AS payment_total_sum
  2. FROM vendors v JOIN invoices i
  3. ON v.vendor_id = i.vendor_id
  4. GROUP BY vendor_name
  5. ORDER BY payment_total_sum DESC