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 ?    28 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to check the server version in oracle?

608


What do database buffers contain?

558


How to write a query with an inner join in oracle?

560


Is primary key indexed by default in oracle?

538


What is rich query?

536






What is recycle bin in Oracle?

709


How to invoke the data pump import utility?

646


How many types of tables supported by oracle?

573


How to resolve name conflicts between variables and columns?

564


What are the predefined tablespaces in a database?

554


Explain the blob datatype?

610


What is an Oracle index?

1171


How to create a table in a specific tablespace?

534


1) Does oracle have any table which contain all the exceptions and it's code internally?

1277


How to assign a tablespace to a users in oracle?

586