J
Jon
The following query retrieves all prices from a table:
SELECT Price_Data.Date_Quote, Price_Data.[Model&Variant_ID],
Car_Model_Variants.Power, Car_Model_Variants.Options, Price_Data.Price,
Price_Data.Clerk
FROM Price_Data INNER JOIN Car_Model_Variants ON
Price_Data.[Model&Variant_ID] = Car_Model_Variants.[Model&Variant_ID]
I would like to retrieve the price where Price_Data.Quote =
MAX(Price_Data.Date_Quote)
Results
Model&Variant_ID | Power | Options | Price | Clerk
Any ideas?
SELECT Price_Data.Date_Quote, Price_Data.[Model&Variant_ID],
Car_Model_Variants.Power, Car_Model_Variants.Options, Price_Data.Price,
Price_Data.Clerk
FROM Price_Data INNER JOIN Car_Model_Variants ON
Price_Data.[Model&Variant_ID] = Car_Model_Variants.[Model&Variant_ID]
I would like to retrieve the price where Price_Data.Quote =
MAX(Price_Data.Date_Quote)
Results
Model&Variant_ID | Power | Options | Price | Clerk
Any ideas?