Hi...
Check datatype of phone no in both tables.
For eg, It one is char & other is varchar, it will not be identified as same because char will pad space in right side of data.
Regards
Ginish
Dear all...
We can solve this by following query also...
select A.* from UserMst A
inner join (select Seq,Max(Rev) as Rev from UserMst group by Seq) B
on A.Seq=B.Seq and A.Rev=B.Rev
order by A.Seq,A.Rev
Bye
Ginish
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.