Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2005-01-06 : 08:31:26
|
| Mark writes "Hi, Using SQL Server 2000 with SP3, I wanted to know how you use a count function and then only display the result where the count is greater than a certain value.for example I want to count how many times a person has used a given website address, and then only display those who have visited that address more than 30 times from the result." |
|
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2005-01-06 : 08:36:47
|
you mean this?select col1from MyTablegroup by col1having count(*)>30Go with the flow & have fun! Else fight the flow |
 |
|
|
|
|
|