Skip Navigation Links
  

SQL Server Developer Center

Click to Rate and Give Feedback
Transact-SQL Reference
 HAVING
Transact-SQL Reference (SQL Server 2000)
HAVING

Specifies a search condition for a group or an aggregate. HAVING can be used only with the SELECT statement. It is usually used in a GROUP BY clause. When GROUP BY is not used, HAVING behaves like a WHERE clause. For more information, see SELECT.

© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker