How to select row(s) with the max value in either c2nd or 3rd column?
In first case, the max value 30 is in row3, hence returning row3
A, 1, 10
B, 2, 11
C, 30, 12
=> C, 30, 12
In second case, max value is on row2, hence returning row2
A, 1, 10
B, 2, 31
C, 30, 12
=> B, 2, 31
In last case, max value is on both row2 and row3, hence returning both
A, 1, 10
B, 2, 31
C, 31, 12
=> B, 2, 31
=> C, 31, 12