My table
integer | party | value | and many more columns
----------+---------+-------+----------------------
1 | abc | 40 | -----
1 | abc | 90 | -----
2 | pqr | 12 | -----
1 | abc | 120 | -------
2 | pqr | 86 | --------
and so on
I want entire row to be retrieved which has max value
Sample output for above table
1 abc 120
2 pqr 86
For a particular distinct party I want row to be picked up which has maximum value.