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 a stored procedure in sql with example?
Explain how can you save or place your msg in a table?
What are the different types of database management systems?
How do you run a query?
What are the benefits of pl/sql packages?
How do I view a sql database?
Explain commit, rollback and savepoint.
Mention what problem one might face while writing log information to a data-base table in pl/sql?
What are the types of operators available in sql?
What are the two different parts of the pl/sql packages?
What is a primary key sql?
Differentiate pl/sql and sql?
What company owns postgresql?
what is an extent ? : Sql dba
What is the difference between mdf and ndf files?