Previous |
Next
What is SQL HAVING?The SQL HAVING is a clause that enables conditions at the aggregate level. It is used instead of the WHERE clause when Aggregate Functions are used.
How To Use SQL HAVINGSQL HAVING is used as follows. SQL HAVING Syntax
SQL HAVING Example The following example regions from the branch table that have total employee_count greater than 5. Here are the contents of the table:
Table: BRANCH
This SQL Statement with HAVING is executed:
Here is the result.
|
| HOME | SQL OVERVIEW | SQL BASICS | SQL ADMINISTRATION | SQL ADVANCED | SQL SYNTAX |
| Copyright© 1999-2010, First Place Software, Inc. |


