i have a table with following columns destination next hop and distance i have two rows with same destination number but different distances i want to use the next hop of the destination whose distance is the least