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 the use of function "module procedure" in pl/sql?
What is string data type in sql?
What are tables and fields?
What is group function in sql?
What are sql commands?
How do I view a table in sql?
what are the authentication modes in sql server? : Sql dba
How to select the Nth maximum salary from Table Emp in Oracle SQL Plus ?
What is column?
How do you exit in sql?
who introduced sql?
What is sqlca in powerbuilder?
Is left join same as join?
what are the advantages of using stored procedures? : Sql dba
Can a table contain multiple primary key’s?