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

records can be read/update/deleted with which file?

1078


what is the command to know key fields of file?

1176


define a output queue?

1587


How do you check object lock

829


if dspatr(pc) and csrloc were specified for a format, which keyword would have priority?

1676


What Is The Error If We Don't Get Login Screen?

1074


What is diff between EVAL & MOVE?

1573


How do I remove a flag or check no. or name when a user opens too many sessions?

2202


how many printer files maximum can be used in single rpg program?

1191


define subsystem?

1624


what is the function of cpysplf command?

1681


what are the limitations of cl (compare to rpg) ?

2315


how can you specify no duplicate key?

1150


what is message file?

1052


can we use ASCII ,CDUP,SENDPASV commands in SFTP?

3664