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 is sqlerrd?
How does a covering index work?
Why truncate is used in sql?
what are the authentication modes in sql server? : Sql dba
What is blind sql injection?
What is sql*loader and what is it used for? : aql loader
Are dml statements autocommit?
What is exit statement?
what are local and global variables and their differences? : Sql dba
What are different types of triggers?
Show the two pl/sql cursor exceptions.
What is trigger price?
Can we use distinct and group by together?
What is mutating table error?
what is online transaction processing (oltp)? : Sql dba