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

Answer Posted / yogesh

This is correct answer -Try it

SELECT SALARY FROM EMPLOYEE WHERE SALARY < (SELECT MAX
(SALARY) FROM EMPLOYEE) ORDER BY SALARY DESC FETCH FIRST 1
ROW ONLY

Is This Answer Correct ?    12 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the three line types in rlu ?

1477


how do u compile rpgle program?

616


a multiple format logical file is also known as?

587


what is service program?

597


what is externally described file ?

935






In Which Specs Arrays, Tables & Constants Are Defined?

701


What is data structure in as400? What is the use of data structure?

602


how to pick up the changed records every time in a subfile after the first change made ?

1001


how to validate input values in display file ?

665


what is a composite key?

1004


what does the ovrdbf command do?

663


what is the purpose of data structure?

1005


how to declare a constant variable in the freeformat?

959


What Does 'sr' In Columns 7-8 Of C Specs Mean?

1063


how to read database records without locking them?

1126