Find values that occur exactly once in table


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



Copy this code and paste it in your HTML
  1. SELECT email
  2. FROM users
  3. GROUP BY email
  4. HAVING ( COUNT(email) = 1 )

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.