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.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 WHERE WITH GROUP BY

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2007-02-21 : 07:50:48
durga writes "why WHERE can't be used with GROUP BY"

mwjdavidson
Aged Yak Warrior

735 Posts

Posted - 2007-02-21 : 07:54:33
It can. If you're trying to constrain based on aggregates, use the HAVING clause.

Mark
Go to Top of Page
   

- Advertisement -