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

What are the different types of locks in mainframe?

489


hi, I want to study TIA portla V11. where can I get online courses?

1379


Do you know what is a data-driven framework?

573


What is the different between GUI map and GUI map files?

1602


Tell us which package can be imported while working with webdriver?

600






What is junit annotation?

541


How do you plan test automation?

1451


Explain me what kinds of annotations are used in testng?

512


1. How would you Test & then automate an antivirus application? 2. How would u test & automate windows screen saver? (expected: "test scenarios" & "test approch": points)

1641


What are the pre-requisites to start automation testing?

473


how to test an webbased application?

1552


Tell us the difference between assert and verify commands?

556


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

535


Give some examples for test management tools?

574


Tell us how can you create html test report from your test script?

521