Hi All,
I have a following table.
student(fname,lname, email )
And I have following entries.
john,mike,mike@m.com
steve,willium, s@s.com
john,mike,m@k.com
steve,willium,w@m.com
mike,tom,t@t.com
In this case I want to get all those rows which are matching with any other row on the basis of fname and lname,
So my output would be
john,mike,mike@m.com
john,mike,m@k.com
steve,willium, s@s.com
steve,willium,w@m.com
Since the last entry i.e. "mike,tom,t@t.com" has no matching row with any other row in the table so it should not be in the result.
Can anyone help me with the Query.
Thanks in advance.











Bookmarks