hi..
i want to find first record and last record of a specific column lets say 'name' so how to get it ?
pls its urgent..
i want to find first record and last record of a specific column lets say 'name' so how to get it ?
pls its urgent..
SELECT TOP 1 [NAME] FROM tblSample ORDER BY [Name] ASC 'Gets First record Name is ascending order
SELECT TOP 1 [NAME] FROM tblSample ORDER BY [Name] DESC 'Gets First record Name is descending order