Is there any way to find non distinct records in a table? I have a table which could have exact same records. Table contain more than 10 million records.
ID Name
1 hello
1 hello
2 world
2 world
3 yikes
I want to select single copy of all those records which are appearing more than once. I want this result from above table.
ID Name
1 hello
2 world