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

Answer Posted / aravind.r

select min(SALARY) from EMPLOY where SALARY in
(select top 2 SALARY from EMPLOY order by SALARY desc)

Is This Answer Correct ?    7 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of jdftval in as400?

918


if we tried to move year part of *iso date into a field of length 3, what will happen ?

662


is their a difference in cobol400 for the release 5.2 and 6.1 at the as400.

2124


In 'o' Specs What Is The Opcode For Write?

708


how many files, printer files you can describe in a rpg?

635






what is the difference between *like and *namvar ?

1566


How do you check object lock

374


what is the favicon.ico request that my site receives now and then?

650


can you have multiple key lists for a single file ?

1003


how to declare a constant variable in the freeformat?

967


what are the three types of keywords associated with printer file ?

1018


what is a query can be run in which mode?

868


what is rpg ?

949


which of the following operations does not zero the field flda defined as 4,0?

713


how can database records be read without lock ?

1224