Postgresql find duplicate columns


/ Published in: SQL
Save to your folder(s)



Copy this code and paste it in your HTML
  1. SELECT event_id,user_id, COUNT(*) FROM event_attend
  2. GROUP BY event_id,user_id
  3. HAVING COUNT(*) > 1

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.