title: Removing duplicates using PigLatin
body: <p>I'm using PigLatin to filter some records.</p>
  
  <pre><code>User1  8 NYC 
  User1  9 NYC 
  User1  7 LA 
  User2  4 NYC
  User2  3 DC 
  </code></pre>
  
  <p>The script should remove the duplicate for users, and keep one of these records. Something like the unique command in linux.</p>
  
  <p>The output should be:</p>
  
  <pre><code>User1 8 NYC 
  User2 4 NYC
  </code></pre>
  
  <p>Any suggestions?</p>