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

Answer Posted / satish

select e1.* from emp e1 where 1=(select count(distinct
e2.sal) from emp e2 where e2.sal>e1.sal)

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me what criteria do you consider for automating a test?

515


Give some examples for defect management tools?

572


How many test cases have you automated per day?

557


Can any one give me the script for drag and drop or setselection functions ?like in a not pad i want to select 5 lines

1440


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

1622






Tell me what type of scenarios can be automated?

523


Hi all, Do anyone have the experience in PDF Document Automation using OLE objects and methods? If so suggest the best websites for source. Thanks :-)

1523


Why do you prefer selenium automation tool?

550


Tell us how to select a value in a dropdown?

538


Tell me an example of the languages supported by webdriver?

680


Which protocol cam be used to makw jdbc connection woth loadrunner

572


Tell us what methods of robot class do you know?

521


Where do we get the QTP and Load runner softwares CDs ( Original ) in chennai

1797


Tell us what you know about table-driven testing?

556


what is the dictionary objects in QTP? and what is method of vb script using virtual object wizard........

1547