HAVING (T-SQL)

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.

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.