sql server - How to return a list of numbers that occur more than 200 times in a column in SQL? -


i have table bunch of columns, important 1 being "a". in column a, have multiple duplicate entries. return entries show in column 200 times or more. possible? have spent few hours on , haven't got anywhere. new sql apologize if easiest thing in world.

take @ having clause. should give you're looking for.

something this:      select columna     yourtable     group columna     having count(*) >= 200 

Comments

Popular posts from this blog

angular - DownloadURL return null in below code -

python 2.7 - Given three nested dictionaries, sort the top two nested dictionaries from a value in the innermost dictionary? -