Hi,
I have a sql to select distinct values from a table. Problem is i need to extract the ID which is new.
i.e. say if there are two ID's for a student like xxxxK1 and xxxxK2
then i have to get the row where K2 is there. All other columns will be same only id will be like this. Distinct is picking both the rows. How to get only K2....
Thanks.
Krshtej.
I have a sql to select distinct values from a table. Problem is i need to extract the ID which is new.
i.e. say if there are two ID's for a student like xxxxK1 and xxxxK2
then i have to get the row where K2 is there. All other columns will be same only id will be like this. Distinct is picking both the rows. How to get only K2....
Thanks.
Krshtej.