Posted By

metoikos on 05/27/10


Tagged

unique duplicate find Postgresql


Versions (?)

Postgresql find duplicate columns


 / Published in: SQL
 

  1. SELECT event_id,user_id, count(*) FROM event_attend
  2. GROUP BY event_id,user_id
  3. HAVING count(*) > 1

Report this snippet  

You need to login to post a comment.