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

select top 1 salary from employee where salary<(select top 1 salary from employee order by salary desc) order by salary desc

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between normal upddta to pf and updating using dfu program?

1390


what is join logical file?

1972


using dfu, user will be able to ___________ from physical file?

1043


how can I control from my cgis the cache of a remote browser?

1220


how can a message from a message file appear as a constant on the screen?

1676


why is as/400 called object oriented machine?

1771


what are the different commands used in rlu ?

2488


how to toggle between single line and multi - line display of a particular record in a subfile?

1889


how many printer files can be defined in f specs ?

1689


what is the clp command to access a query/400?

2230


what is the version of os/400 that we have?

1696


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

1122


How Many Specs Are There In Rpg & Which Are They?

1146


what does the ovrdbf command do?

1168


What is file access opcodes?

1402