Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 ?    13 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

distinguish between terminating a program through seton lr and return?

1110


how you get the relative record in a subfile in which cursor is located?

1110


What is the as400 called now?

987


What are the mandatory keywords of sub file?

1486


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

1823


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

1085


define the purpose of the leave operation?

1614


what is the difference between sflclr and sflinz?

1778


Write a logic program for knowing the repeated number of a vowels in a given program?

3751


What are the different opcodes used for file operation on a subfile in a rpg pgm?

1838


what do we can do with the embedded sql statements?

1061


what is the function of cpyf command?

1682


what is the function of cpysplf command?

1696


what is the use of data structures?

1137


what is join logical file?

1896