Write a query to get 2nd maximum salary in an employee table ?

Answer Posted / ahmad

Select Max(VacationHours) "MVacHrs"
from HumanResourcesEmployee
where VacationHours not in (Select Max(VacationHours)
from HumanResourcesEmployee)

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of pl/sql table?

565


What is cte?

587


What does dml mean?

562


What is trigger and types?

578


Explain the difference between 'between' & 'and' operators in sql

537






What does count (*) do in sql?

537


What is a field in a database?

578


What is use of package in pl sql?

545


what is a database? : Sql dba

614


What does stand for in sql?

532


how can we transpose a table using sql (changing rows to column or vice-versa) ? : Sql dba

519


Is sql dba a good career? : SQL DBA

544


How to write pl sql program in mysql command prompt?

525


What is scope of pl sql developer in future?

602


How show all rows in sql?

624