query to retrive the employees whose sal is greater than avg
sal
Answer Posted / shiva
select e.* from emp e where e.sal>(select avg(sal) from emp);
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
Can a table have no primary key?
What is cursor in pl sql?
Which sorts rows in sql?
How do you add a column to a table?
What is the use of partition by in sql?
What are commit, rollback, and savepoint?
What are the set operators in sql?
How many commands are there in sql?
how to get help information from the server? : Sql dba
How do you update a table in sql?
How many types of primary keys are there?
Does group by remove duplicates?
what is union? : Sql dba
Write a sql query to get the third highest salary of an employee from employee_table?
What is null in pl/sql?