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
how to use case expression? : Sql dba
What is the difference between clustered and non-clustered indexes?
Are sql database names case sensitive?
How many disk partitions should I have?
What is nvarchar max in sql?
What is snowflake sql?
What is #table in sql?
how to check server status with 'mysqladmin'? : Sql dba
What is a primary key? Explain
Does sql use python?
Where can I learn sql for free?
How can I change database name in sql?
What are the uses of sysdate and user keywords?
What is function and procedure in pl sql?
What does seeding a database mean?