Table:
ID A B C D E
----------------------------------------------
1 4 370692690 917400014333 307 990
2 4 370692690 917400014333 392 767
3 2 370692690 917400014333 337 367
4 3 370692690 917400014333 269 284
If rows have matching A,B and C columns (in this case row 1 & 2) then select row with MAX(D).
Result:
ID A B C D E
----------------------------------------------
2 4 370692690 917400014333 392 767
3 2 370692690 917400014333 337 367
4 3 370692690 917400014333 269 284