title: Using awk to get the maximum value of a column, for each unique value of another column
body: <p>So I have a file such as:</p>
  
  <pre><code>10 1 abc
  10 2 def
  10 3 ghi
  20 4 elm
  20 5 nop
  20 6 qrs
  30 3 tuv
  </code></pre>
  
  <p>I would like to get the maximum value of the second column for each value of the first column, i.e.:</p>
  
  <pre><code>10 3 ghi
  20 6 qrs
  30 3 tuv
  </code></pre>
  
  <p>How can I do using <code>awk</code> or similar unix commands?</p>