irish87
07-26-2006, 07:50 PM
below is code which I am using in a query:
SELECT DISTINCT [tblCar].[CarID], [tblCar].[Year] FROM tblCar ORDER BY [Year];
I am trying to have the query so that if two cars are entered into the tblCar and have the same year of manufacture, the year wont be displayed more than once.
Could someone tell me if this is possible and if it, is am I doing it the rite way?? If I am not doing it the rite way then, how?????
SELECT DISTINCT [tblCar].[CarID], [tblCar].[Year] FROM tblCar ORDER BY [Year];
I am trying to have the query so that if two cars are entered into the tblCar and have the same year of manufacture, the year wont be displayed more than once.
Could someone tell me if this is possible and if it, is am I doing it the rite way?? If I am not doing it the rite way then, how?????