write the SQL statement to retrieve the 2nd Highest salary
ammount(File Name="EMPLOY",Field Name="SALARY")

Answer Posted / vivek dwivedi

Select max(salary) from file where salary not in (select max(Salary) from file)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how can I control from my cgis the cache of a remote browser?

672


name few ibm supplied libraries?

1211


What are the mandatory keywords of sub file?

741


what are the various types of device files?

989


how many maximum spaces could be given in o specs?

631






how would you design the process for a nightly, high volume check producing process that needs to select only records that are flagged to be processed?

929


when would you use or not use this approach?

888


how do you know that records are locked?

1150


how can I automatically refresh a web page?

631


Hi,Please give me the the answer for these quesitons? 1.what is IFS and ICF and RAPE amd DISKET fils? explain with example please? 2.What is the difference between POST AND SPACE OPCODES? 3.Can anybody tell me default printerfile command and object type?

2079


how to define to define a hidden filed in dspf ?

773


what is the purpose of putovr (put with explicit override) keyword?

928


what is message file?

596


when is a tag statement used in rpg?

1352


how can I control the way a remote browser uses its cache?

603