in Sql by
Q:
Which of the following is true about the HAVING clause?

Select the correct answer from below options:

a) Similar to the WHERE clause but is used for columns rather than groups.

b) Similar to WHERE clause but is used for rows rather than columns.

c) Similar to WHERE clause but is used for groups rather than rows.

d) Acts exactly like a WHERE clause.

1 Answer

0 votes
by

c) Similar to WHERE clause but is used for groups rather than rows.

The HAVING clause is always used with the GROUP BY clause and returns the rows where the condition is TRUE.

Related questions

0 votes
0 votes
asked Sep 9, 2019 in Spark Sql by ivor2019
0 votes
asked Mar 25, 2022 in SAP S/4HANA Functional Capabilities 1909 by sharadyadav1986
0 votes
asked Oct 26, 2022 in Machine Learning by Robin
0 votes
asked Sep 5, 2022 in AWS by sharadyadav1986
...