how to get top two salaries from employee tables
Answer Posted / sivaprasad
SELECT MIN(SALARY) FROM EMP WHERE SALIN(DISTINCT TOP2
SALARY FROM EMP ORDER BY SALARY DESC.
OR
SELECT TOP 2 SALARY FROM EMP ORDER BY SALARY DESC.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
How we allocate the priority(Blocker, Critical, etc.,) in Testing?
What is junit & api?
What is Bomb Testing?
how can u prepare the test plan?
Write the test cases for yahoo home page
What is mutation testing & when can it be done?
Architectural structure of the insurance project?
Can anyone please tell in detail about the Rally tool and how a tester is going to use it.
What is Registry?
What is stub?
why testcases are written and what is the importance?
What is Stability and Performance Testing in Testing the TV
What do you like about computers?
What is coverage and what are the different types of coverage techniques?
What is the difference between a defect and a failure?