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 / vivek dwivedi

Select max(salary) from file where salary not in (select max(Salary) from file)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What Does 'sr' In Columns 7-8 Of C Specs Mean?

1818


different type of cursor?

1102


the maximum number of subfiles that can be active for a single file is ____ .

1931


how to read database records without locking them?

1928


1. There is a file called Month. Month has 12 members called Jan, Feb, ..., Dec. How to design a rpg code which can access any member and show its content. (User can ask for any member when required)?

1150


what is match field indicator?

1821


what opcode will be used to test the zone of a character field?

1837


in which specification the report layout can be defined?

1703


how do you specify page overflow indicator for printer files in rpg?

2363


how you will find an error which is not in the first page of the subfile without using rolldown key?

1078


what are the various types of device files?

1743


how can I predict the performance of my cgis?

1160


what is subfile?

1665


What is compiler directive in as400? Give example of compiler directive.?

1162


Difference between NOPASS & OMIT?

1937