which clause we are not used in where clause?
Answers were Sorted based on User's Feedback
Answer / 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 |
How can you merge two tables in oracle?
Create table Employee ( Employee_Id varchar2(8) Constraint emp_id_pk primary key, FirstName varchar2(50), LastName varchar2(50), DeptID Number(5) Constraint dept_id_fk Foreign Key(DeptId) References Department(DeptId) ) Error I am getting: Constraint specification are not allowed here
How to create an oracle testing table?
What is the difference between a primary key & a unique key?
Can we use bind variables in oracle stored procedure?
We need to compare two successive records of a table based on a field. For example, if the table is CUSTOMER, and the filed is Account_ID, To compare Account_IDs of record1 and record2 of CUSTOMER table, what can be the query ?
What is the difference between alert log file and trace file ?
How to assign values to variables?
Explain the use of analyse option in exp command.
How to drop an index?
How data locks are respected in oracle?
What is instant client oracle?