query to retrive the employees whose sal is greater than avg
sal
Answer Posted / amit
SQL>SELECT ENAME,SAL FROM EMP
WHERE SAL>(SELECT AVG(SAL) FROM EMP);
| Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
What is difference between rank () row_number () and dense_rank () in sql?
What does cursor do in sql?
What type of join is sql join?
what is the use of anchoring object? what r the difference between anchoring object & enclosing object? can any one tell me all the details?
how to create a new table by selecting rows from another table in mysql? : Sql dba
What is %s in sql?
What is the size of partition table?
what are the types of subquery? : Sql dba
How to add new employee details in an employee_details table with the following details
What is prepared statement in sql?
What are the subsets of sql?
Does truncate require commit?
What are the packages in pl sql?
Show the cursor attributes of pl/sql.
What is view? Can we update view