how to find the second highest salary from emp table?
Answer Posted / praveen
SELECT MAX(Salary) as 'Salary' from EmployeeDetails
where Salary NOT IN
(
SELECT TOP 1 (SALARY) from EmployeeDetails ORDER BY Salary Desc
)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How is debugging done?
What packages(if any) has oracle provided for use by developers?
what happens if null values are involved in expressions? : Sql dba
What is java sql connection?
Explain the the update statement in sql?
What view means?
what is a scheduled jobs or what is a scheduled tasks? : Sql dba
Can you join views in sql?
Is left join and outer join same?
Enlist the advantages of sql.
What are triggers and its uses?
What is a temporal table?
What are some predefined exceptions in pl/sql?
Why is pl sql needed?
Can you call pl/sql package functions from within a fast formula?