what is difference between where clause and having clause?

Answer Posted / anto padma sheela

1. Having clause is usually used with Group By clause
although it can be used without it too.

2. 'Having' is just an additional filter to 'Where' clause.

3. 'Where' clause applies to the individual rows
whereas 'Having' clause is used to test some condition on
the group(usually aggregate methods) rather than on
individual rows.

Is This Answer Correct ?    14 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to use "in out" parameter properly?

610


How to rename a tablespace in oracle?

612


how to do daily transactions with out sql* loader control file regesterd in apps?

1216


Explain the use of indexes option in exp command.

590


How to recover a dropped table in oracle?

601






How to pass a parameter to a cursor in oracle?

591


What is a cognitive schema?

523


What is a subquery in oracle?

574


What is connection pool in oracle?

551


How to define an oracle sub procedure?

592


 How to use an oracle sequence generator in a mapping?

556


Can we use oracle pl/sql block in core java? if so how? pls get back to me .....

2500


How to count duplicated values in a column in oracle?

544


Can you assign multiple query result rows to a variable?

543


How to convert dates to characters in oracle?

577