query to retrive the employees whose sal is greater than avg
sal
Answer Posted / shiva
select e.* from emp e where e.sal>(select avg(sal) from emp);
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
Is full outer join same as cross join?
What is sql and how does it work?
describe mysql connection using mysql binary. : Sql dba
What is the need of a partition key?
What is varchar data type in sql?
what is error ora-03113: end-of-file on communication channel?
What are some emotional triggers?
What are types of indexes in sql?
explain mysql aggregate functions. : Sql dba
How to check if a column is nullable before setting to nullable?
Under what condition it is possible to have a page level lock and row lock at the same time for a query? : Transact sql
Where is sql database stored?
Can we use views in stored procedure?
what are myisam tables? : Sql dba
Explain ddl statements in pl/sql?