Selecting lines having same values for first two columns

view story

http://www.unix.com – Hello to all. This is first post. Kindly excuse me if I do not adhere to any rules and regulations of this forum. I have a file containing some rows with three columns each per row(separeted by a space). There are certain rows for which first two columns have same value but the value in third column is different. In that case I wish to retain only that row which has the maximum value for third column. Further I want to wirte the rows not required to a file for further processing. Code: 1123022201 9310777627 3976 1127021871 9312262893 3600  -- not required, sent to another (HowTos)