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
what is the bond code in materialized view?
describe mysql connection using mysql binary. : Sql dba
What is the use of function in sql?
How can we store rows in PL/SQL using array?
Does view store data in sql?
What is the advantage of index in sql?
What is t sql used for?
What is the usage of distinct keyword?
How insert into statements in sql?
Are pl sql variables case sensitive?
What is the current version of postgresql?
How many row comparison operators are used while working with a subquery?
What are its different types of dbms?
how to calculate the difference between two dates? : Sql dba
what is the use of friend function? : Sql dba