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
Post a Comment