I've got a table containing some duplicates (defined as some specific columns contain the same values). What's the best way to get all those rose back? I need all the duplictes, so group by in combination with having count() > 1* is not the way I'd like to go.
So if my table contains the following data
1 - foo - bar - something
2 - foo - bar - another thing
3 - foo - bar - something
4 - foo - bar - something else
I'd like to get returned:
1 - foo - bar - something
3 - foo - bar - something
Thanks a lot for helping!
Stefan