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 defn do?

1078


what are dds required for subfile?

1037


what is the syntax for plist?

1107


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

1826


describe the difference between the dowxx and douxx operations?

2114


what is a spool file?

1127


Difference Between Interactive & Batch Job?

1230


What are the types of data structure in as400?

1033


maximum number of subfiles that can be active for a single file is?

1696


what is arrival sequence?

1868


what is term cua , saa?

1607


define the purpose of the leave operation?

1592


what is sflinz and sflrna?

1505


define a shared access path?

1751


can you display a empty subfile?

1226