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

how may a cgi control duplicate inputs?

1114


different type of cursor?

1105


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

1127


what is the maximum number of subroutines allowed in rpg?

1845


Space & Skip Are Which Level Keywords?

1240


what is the maximum number of fields under a record format of physical file?

1961


when should I use method get, and when should I use method post in my cgis?

1182


what is message subfile?

1810


writing an sql statement from selecting records from two files using single statement and nested select statement.

1252


define the rcvf command?

1799


in conjunction with which statements can orxx and andxx conditions be used ?

1950


can we define multi-dimensional arrays in rpg ?

1754


define the purpose of the leave operation?

1697


what opcode could be used to test an alphanumeric field for all numeric values?

1840


what is the difference between seton lr and retrn?

2125