which clause we are not used in where clause?

Answer Posted / chandana

Select avg(sal) from Emp
where avg(sal) >1000;

This gives an error. So, Group Functions(Aggregate) should
not be used in the Where Clause

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain enable novalidate constraint.

597


What are the uses of Database Trigger ?

1104


How to run the anonymous block again?

595


You have found corruption in a tablespace that contains static tables that are part of a database that is in NOARCHIVE log mode. How would you restore the tablespace without losing new data in the other tablespaces?

1460


Is there a function to split a string in plsql?

570






How to use "for" statements in oracle?

595


Why should I use oracle database?

574


How do you increase the OS limitation for open files (LINUX and/or Solaris)?

1468


What suggestions do you have to reduce the network traffic?

550


How to install oracle database 10g xe?

564


What is hot backup and logical backup?

610


Please explain compound trigger in oracle?

600


How to lock and unlock a user account in oracle?

617


How to set up autotrace for a user account?

596


What is the difference between post-database commit and post-form commit?

517