title: Finding duplicates in PIg
body: <p>If I have a table with <strong>duplicate rows for an id</strong>,</p>
  
  <p>I can find it using Hive with the follwoing query</p>
  
  <pre><code>create table dupe as select * from table1 group by id having count(*) &gt; 1;
  </code></pre>
  
  <p>Can we perform the same function using Pig? </p>
  
  <p>If yes, can someone please help me with that?</p>