I have rows like this:
( a , #$@$ , $$ , 3 ) ( c , ###$ , ## , 0 ) ( a , #@$# , !! , 2 ) ( b , #@## , $$ , 0 ) If I want to get the result like below
( a , #$@$ , $$ , 3 ) ( c , ###$ , ## , 0 ) ( b , #@## , $$ , 0 ) Which is based on grouping by column 1 and choose the rows with max value in column 4 independent of other columns (2 & 3).
Instead of creating subquery, is there a way to do this?