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 a native sql query?
What is the purpose of a secondary key?
Explain what is a column in a table?
Does view contain data?
How to know the last executed procedure?
When can we use the where clause and the having clause?
How many sql are there?
tell me about various levels of constraint. : Sql dba
What is sql injection owasp?
How do I trace sql profiler?
what are the other commands to know the structure of table using mysql commands except explain command? : Sql dba
What is acid property in a database?
How to Execute a Package in PL/SQL.?
What are the different types of database management systems?
What is the purpose of the primary key?