I have a Table such that looks like the following:
ID TID TNAME CID CNAME SEQUENCE
-----------------------------------------------------------
200649 6125 Schalke 356954 Mirko 1
200749 6125 Schalke 356954 Mirko 1
200849 6125 Schalke 439386 Fred 1
200849 6125 Schalke 356954 Mirko 1
200849 6125 Schalke 495881 Michael 1
200949 6125 Schalke 401312 Felix 1
200949 6125 Schalke 495881 Michael 2
I would like to query this table so it only returns if ID and SEQUENCE are duplicated. i.e. it should only return:
200849 6125 Schalke 439386 Fred 1
200849 6125 Schalke 356954 Mirko 1
200849 6125 Schalke 495881 Michael 1
I have used having count(ID) > 1
but it will not return anything since CIDs are all unique.
Thanks for your help!