Write a query to find second highest salary of an employee.

Answer Posted / aarti

select * from employees
where salary = (select mnin(salary)from (select salary from
employees where rownum <= 2 order by salary DESC)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

suggest me the free online books on software testing?

1516


What are the different types of scripting techniques for automation testing?

552


Explain me what is testng and why is it better than junit?

520


Tell us what automation tools could be used for post-release validation with continuous integration?

518


What all different approaches can be used for designing an automation solution?

500






Tell me how could the web element attributes be inspected in order to use them in different locators?

568


How can we make one test method dependent on other using testng?

541


WHAT IS TEST SCRIPT AND HOW DO YOU CREATE IT?

1782


Can anyone tell me the correct answer of below question....it is about Bugzilla tool. When bug will find out at the time of executio where it will save or what is the location of bug??

1512


is there any one got offer from snapdeal?

4145


Do you know what is robot api?

561


Stop automating the tests which run once?

572


Could any one share scripts... where we can Parameterize radio buttons and Check boxes in Rational Robot.

1622


Explain me what is the difference between setspeed() and sleep() methods?

600


how to use regular expression in Test Complete Functional tool

4910