DECLARE @salesDate DATETIME
DECLARE @salesPrice ???
SELECT @salesDate = sp1.salesDate, @salesPrice = sp1.salesPrice
FROM salesProduct sp1
WHERE sp1.salesDate = (
SELECT MIN( sp2.salesDate )
FROM salesProduct sp2
WHERE sp2.saleProductId = sp1.saleProductId
)
AND sp1.salesProductId = 4