Hey folks,
I searched through the previous threads on this subject and just have been unable to get the right combination of 'group by' and joins to get the expected results in SQL Server2K. Here is the SQL string that worked in MS Access. Can anyone offer any guidance to get this to work in SQL Server?
SELECT Parcel.UserDefinedID, Last(Parcel.ParcelID) AS ParcelID, Parcel.TaxYear AS MaxTaxYear INTO _MaxTaxYearOut FROM Parcel
Thank you in advance,
Ron
I searched through the previous threads on this subject and just have been unable to get the right combination of 'group by' and joins to get the expected results in SQL Server2K. Here is the SQL string that worked in MS Access. Can anyone offer any guidance to get this to work in SQL Server?
SELECT Parcel.UserDefinedID, Last(Parcel.ParcelID) AS ParcelID, Parcel.TaxYear AS MaxTaxYear INTO _MaxTaxYearOut FROM Parcel
Thank you in advance,
Ron