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
Is left join inner or outer?
What is the primary use of normalization?
Can we change the table name in sql?
What is pl sql collection?
What is error ora-12154: tns:could not resolve the connect identifier specified?
What is an invalid partition table?
How subquery works in sql?
What is pl sql block structure?
What is the mutating table and constraining table?
What is file based approach?
How do you bind variables in pl sql?
What is the purpose of a sql?
Can variables be used in sql statements?
What is the cause of mutating table error and how can we solve it?
How do you sort in sql?