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_5C30.sql 158B

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