From an Employee table, how will you display the record
which has a maximum salary?
Answer Posted / kavitha nedigunta
select * from emp e,(select max(sal) sal
from emp)a
where e.sal= a.sal;
select * from emp
where sal in(select max(sal) from
emp);
| Is This Answer Correct ? | 29 Yes | 3 No |
Post New Answer View All Answers
What is cascade in sql?
What is the cause of mutating table error and how can we solve it?
What is sql*plus?
Does asenumerable execute the query?
How to create an array in pl/sql?
What is the benefit of foreign key?
Can we call stored procedure in function?
What is data manipulation language?
how to escape special characters in sql statements? : Sql dba
What are the benefits of pl sql?
How many tables can you join in sql?
What is the use of & in pl sql?
what are the 'mysql' command line options? : Sql dba
Can we insert data in view?
What are predefined functions in sql?