Write a query to find second highest salary of an employee.
Answer Posted / amol londhe
Use the below Query:
Select Max(salary) from Emp
Where Max(salary) < (Select Max(salary) from emp
where emp-no=101);
Is This Answer Correct ? | 10 Yes | 18 No |
Post New Answer View All Answers
What are local and global variables and their differences?
Which kind of parameters cannot have a default value in pl sql?
What do you mean by field in sql?
What does bitemporal mean?
What is a nested table in word?
What are pl sql procedures?
what are the drivers in mysql? : Sql dba
How are sql commands classified?
What is pl sql script?
How to display Row Number with Records in Oracle SQL Plus?
What is the use of index in sql?
What is primary key and foreign key?
How to order siblings in oracle hierarchy queries?
How to connect a sql*plus session to an oracle server?
Can unique keys be null?