My problem is as stated in the title. I want 2 display the highest and lowest priced car sold for this month. This is what I have.
Expand|Select|Wrap|Line Numbers
- SELECT CarSales.Car_Reg,MAX (Purchased_Price) AS Highest_Sale
- FROM CarSales
- WHERE Purchased_Price=(SELECT MIN(Purchased_Price)AS Smallest_Sale
- FROM CarSales)=
- (((Month([Date_Of_Purchase]))=IIf(Month(Now())=1,12,Month(Now()))))
- GROUP BY [CarSales].[Car_Reg] ;
I want it 2 display just the car reg, highest and lowest price all in separate columns.
CarReg Highest Price Lowest Price
cf63gd7 £8,000 £1500
All help welcome.