What is the HAVING clause?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What is the HAVING clause?
Rating:
The HAVING clause in a SQL SELECT statement is used with aggregate functions such as SUM, MAX, etc. It returns the results that have values matching the specified values (such as the WHERE clause). It is placed at the end of a SQL SELECT statement.
The syntax for the HAVING clause is as follows:
FROM (table_name)
GROUP BY (column_name1)
HAVING (aggregate function condition)
Rating:
Was this information helpful?
Other articles
- What are non-critical files?
- What is a composite attribute?
- What is the CHECK_OBJECT procedure?
- What is a cancel-based recovery?
- What is SGA_TARGET?