The HAVING clause does which of the following?
A. Acts EXACTLY like a WHERE clause.
B. Acts like a WHERE clause but is used for columns rather than groups.
C. Acts like a WHERE clause but is used for groups rather than rows.
D. Acts like a WHERE clause but is used for rows rather than columns.
Answer: Option C
Solution(By Examveda Team)
The HAVING clause in SQL is used to filter the results of a GROUP BY query based on a specified condition. It is similar to the WHERE clause, but it operates on grouped rows rather than individual rows. It allows you to filter groups that meet certain criteria, and it is typically used in combination with aggregate functions such as SUM, COUNT, AVG, etc., to filter grouped results. So, Option C accurately describes the purpose and functionality of the HAVING clause.A. Structured Query Language
B. Structured Query List
C. Simple Query Language
D. None of these
Which is the subset of SQL commands used to manipulate Oracle Database structures, including tables?
A. Data Definition Language(DDL)
B. Data Manipulation Language(DML)
C. Both of above
D. None
Which operator performs pattern matching?
A. BETWEEN operator
B. LIKE operator
C. EXISTS operator
D. None of these
What operator tests column for the absence of data?
A. EXISTS operator
B. NOT operator
C. IS NULL operator
D. None of these
Join The Discussion