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

give three main purposes of file specification ?

1671


how to write code for singlepage in sqlrpgle with update ?

2786


what is the use of dspatr(mdt) keyword?

2184


what is the maximum number of files allowed in rpg?

1579


what is full form for dds?

1163


How to convert a spool file to PDF file in AS400?

1193


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

1662


which of the cl command can be used to determine which logical files are dependent on a specific file?

1050


what is a keyed physical file?

1748


What is the use of jdftval in as400?

1357


which single rpg opcode performs both setll and reade?

1699


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

1050


what is maximum number of arrays allowed in rpg?

1842


what is arrival sequence?

1784


what are the basic features of seu?

1140