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
Is sql harder than python?
What is difference between table and view?
How many tables can you join in sql?
how to include numeric values in sql statements? : Sql dba
Is sql difficult?
how to calculate expressions with sql statements? : Sql dba
What information is needed to connect sql*plus an oracle server?
How do I order columns in sql?
what is the different between now() and current_date()? : Sql dba
What is difference between nchar and nvarchar?
Which join is like inner join?
Explain the purpose of %type and %rowtype data types?
What is pl sql in oracle?
Can we rollback delete command?
Can we join more than 2 tables in sql?