I have this table:
A B C D
1 Cat XYZ 12
1 Cat XYZ 13
1 Dog XYZ 14
2 Dog ABC 15
2 Dog ABC 16
3 Cat XYZ 17
Result set:
A B C D
1 Cat XYZ 12
1 Cat XYZ 13
2 Dog ABC 15
2 Dog ABC 16
I need all such records in my table where A, B, C should be same and the D column can vary. Please help it soon that's why asking for help.