query to retrive the employees whose sal is greater than avg
sal
Answer Posted / badchip
select ename,esal from emp_mast where esal > (select avg
(esal) from emp_mast group by esal);
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
How many triggers can be applied to a table?
What does count (*) do in sql?
What is a pl/sql block?
Why having clause is used in sql?
How can we optimize a sql query?
Define select, insert, create, delete, update, drop keywords
Can instead of triggers be used to fire once for each statement on a view?
Explain the the update statement in sql?
Does mysql support pl sql?
How to use boolean type in select statement?
What has stored procedures in sql?
What is not in sql?
what is “go” in t-sql? : Transact sql
Does sap use sql?
What is sql profiler in oracle?