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

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

1738


which type of object is used in db2/400?

1053


what are indicators?

1046


Difference between NOPASS & OMIT?

1850


how will you find a string using pdm?

1149


which indicator is used for read?

1139


how you will find an error which is not in the first page of the subfile without using rolldown key?

1004


define subsystem?

1624


Can we debug the MSGW JOBS?

1330


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

2565


what is rpg fixed logic cycle?

1208


how can I give more performance to some selected pages?

1032


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

1085


difference between sflrcdnbr and sflnxtchg?

1177


How can we change the uppercase to Lowercase in RPG?

1427