Showing Distinct Values with Aggregates
问题 I have a table for recording daily price from different suppliers. My goal is to find the best (low price) supplier. The table structure is Table Name: lab1 Columns: ID, Product_ID, Price_date, Price, Supplier ----------------------------------------------------------------------------------- ID Product_ID Price_date Price Supplier -------------------------------------------------------------------------------------- 1 8 26-10-2014 1300 SP1 2 8 05-10-2014 1600 SP2 3 8 15-10-2014 1300 SP1 4 8