Posted By

BrentS on 04/03/12


Tagged

sql


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

johnw


sql_FindingDupValues


 / Published in: SQL
 

Can be used when looking for values that are duplicates.

  1. SELECT city_name
  2. FROM areas
  3. GROUP BY city_name
  4. HAVING count(*) > 1

Report this snippet  

You need to login to post a comment.