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 / 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

which are the string manipulation opcodes?

1084


How to reverse a string using RPG?

1509


how can database records be read without lock ?

1959


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

1085


what is a keyed physical file?

1841


what does dfu program you to do on a record?

1230


what is the command to know key fields of file?

1180


how to write code for singlepage in sqlrpgle with update ?

2828


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

1657


what keyword must be used with protect keyword ?

1769


how may a cgi control duplicate inputs?

1079


what does the opcode free do?

1962


which cl command can be used at program execution to redirect the file named in an rpg program?

1210


what are the important factors in error message subfile ?

1019


how can you execute a command from within an rpg program without calling a clp program?

2018