query to retrive the employees whose sal is greater than avg
sal
Answer Posted / swapna
select ename from emp where sal>(select avg(sal) from emp);
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What is the difference between stored procedure and view?
What is column?
How sql query is executed?
How many triggers can be applied to a table?
How do you add a column to a table?
what is an alias command? : Sql dba
What is difference between hql and native sql?
Write a query to find the names of users that begin with "um" in sql?
Why is sharding used?
When a dml statement is executed, in which cursor attributes, the outcome of the statement is saved?
What are tables and fields?
Is there any restriction on the use of union in embedded sql?
Which column in the user.triggers data dictionary view shows that the trigger is a pl/sql trigger?
How to convert comma separated string to array in pl/sql?
What is materialized view in sql?