I'm trying to set up a query to identify the lowest cost vendor. I have set up three tables: 1. a product table, 2. a vendor product table and 3. a Vendor Table. The vendor products are linked to the vendor table via the vendor ID. The vendor products are linked to the Products in the product table off the Product ID in the Vendor Product table. Each Product can have multiple vendors. I want to identify the Primary vendor using a couple of criteria but primarily using the lowest cost. What is the best equation for building this query?
thanks
RB