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

Answer Posted / aj

select * from emp A where 1=(select count(*) from emp B
where A.SALARY < B.SALARY)

Is This Answer Correct ?    12 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I am new to Test Complete ,can any one suggest me the steps to create/Record and replay a test in Test complete 6....

1929


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


What all things can you automate?

584


What is vendor tool and give examples?

616


Can you list some other automation testing tools that you are familiar with?

577






What u mean by infrgistics control (What is infrgistics Controls)?

1609


How do we Test the C++ and Unix Application Using Automated Tool.

1868


Give some examples for defect management tools?

572


8. How we test web based application

1831


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


what is aom and how to add object repository? i am very new to QTP please help me

1455


What are the primary features of good automation tool ?

586


Tell me an example of the languages supported by webdriver?

680


In Selenium how a test suit is run and report is generated.

1570


What is self-referencing constraint in mainframe development?

513