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 / aravind.r

select min(SALARY) from EMPLOY where SALARY in
(select top 2 SALARY from EMPLOY order by SALARY desc)

Is This Answer Correct ?    7 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is a physical file?

1899


difference between sflrcdnbr and sflnxtchg?

1234


what does check opcode do ?

1935


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

3794


what are the two record formats a subfile contain ?

2004


what is logical file?

1087


what is the difference between *like and *namvar ?

2626


In Which Specs Arrays, Tables & Constants Are Defined?

1217


WHICH REPLY CODE IS USED BT sftp ? ... (e.g.226 is used by FTP IF FILE IS TRANSFERED)

2204


which are the relational operators in rpg?

1173


how to read database records without locking them?

1928


what is a query can be run in which mode?

1355


different type of cursor?

1102


can you have multiple key lists for a single file ?

1750


how can a cgi check whether an ifs object is available?

1147