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

Answer Posted / vidhya

select max(column name) from table_name where((select max
(column name) from table_name Order by salary Desc) set
difference (select max(column name))

Is This Answer Correct ?    2 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Any kind of test which you think should not be automated?

531


What criteria do you consider for automating a test?

539


Why automation testing?

594


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

1634


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

517






What is ‘good code’? What is ‘good design’?

544


Program/pseudo code on FIFO? Input a string and make sure that output is in FIFO manner. Eg, Enter 'John Dave' as input and output should be 'John Dave' not 'Dave John'. (inbuilt functions like push, pop were given)

4936


Hi, I want to learn DataBase Testing. So please some document or path so that i can get some material on DataBase Testing concepts (preferably SQL Server 2000). Thanks in advance, Guru

3336


What are the differences between open source tools, vendor tools, and in-house tools?

539


Tell me what are the different types of navigation commands?

501


What is an automated test script?

658


Generic function for selecting a Radio Button in a Dialog

1970


What is junit annotation?

545


How to select an automation tool best matched for your project?

507


what is the difference between Batch test runner and framework ?

1612