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 invoke the data pump export utility?

565


What are privileges and grants?

574


Explain how are indexes update?

623


what is partitioning? Types of partitioning. explain? what is the new kind of partitioning type introduced in 9i?

1851


What is background process in Oracle?

628






Can we protect our pl/sql source code?

580


How to invoke the data pump import utility?

653


How to view all columns in an existing table?

552


why should i declare foreign key constraint as self relation instead of binary relation in tables ?

1568


Why packages are used in oracle?

547


Explain enable novalidate constraint.

599


What is a synonym? What are its various types?

625


Explain what are the uses of rollback segment?

590


Is oracle a language?

529


What is a relational database management system?

680