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.
12345 |
- SELECT vendor_name, SUM(payment_total) AS payment_total_sum
- FROM vendors v JOIN invoices i
- ON v.vendor_id = i.vendor_id
- GROUP BY vendor_name
- ORDER BY payment_total_sum DESC
|