Hi,
How to get this output using sql query?
Sno Name Age ADD Result
------------------------------------------------
1 Anil 23 delhi Pass
2 Shruti 25 bangalor Pass
3 Arun 21 delhi fail
4 Sonu 23 pune Pass
5 Roji 26 hydrabad fail
6 Anil 28 delhi pass
--------------------------------------------------
--------------------------------------------------
Output
Sno Name Age ADD Result
---------------------------------------------
1 Anil 23 delhi pass
28 delhi pass
---------------------------------------------
---------------------------------------------