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

Answer Posted / vittal

select max(sal)from emp e1 where 2<=(select count(*) from
emp e2 where e1.sal <= e2.sal);

Is This Answer Correct ?    66 Yes 38 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which protocol cam be used to makw jdbc connection woth loadrunner

572


What is the major difference between Acceptance test , Functional test , Usability test and Performance test with special reference to auotomotive domain

1502


Tell us what is the difference between @factory and @dataprovider annotation?

526


What are the phases in automation testing life cycle?

560


Do you know when autoit is used?

577






1.Which functinalities of QTP using in onlinebanking system? 2.in lift which kind of testing you perform? 3.how do you test money is transform from one account to another account in online banking?

1819


Does automation testing have any disadvantages?

561


What are the points that are covered while planning phase of automation ?

628


what is critical test case ? please give an example .

1400


how to import specifically 2nd column elements to runtime datatable in excel sheet if it contains 3 columns

1641


how to test an webbased application?

1570


Differentiate between hdam and hidam database?

560


What is a framework and what are the frameworks available in rc?

547


What are the 5 common software development problems solutions?

558


What is hybrid automation?

580