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_5C29.sql 172B

1234567
  1. use ap;
  2. SELECT vendor_name, MAX(invoice_date) AS latest_inv
  3. FROM vendors v
  4. LEFT JOIN invoices i ON v.vendor_id = i.vendor_id
  5. GROUP BY vendor_name
  6. ORDER BY latest_inv DESC;