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 a table in a database?
What is difference between rank () row_number () and dense_rank () in sql?
Advantages and disadvantages of stored procedure?
What is a behavioral trigger?
What is pl sql architecture?
Can we use update in sql function?
What is a delimiter in sas?
What are the sql commands?
How do I view tables in sql developer?
What is the difference between clustered and non-clustered index in sql?
How do you optimize a stored procedure in sql?
What is the use of primary key?
How to find 3rd highest salary of an employee from the employee table in sql?
What are types of indexes in sql?
What is group function in sql?