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 Is Ddm ?

1606


can we define multi-dimensional arrays in rpg ?

1524


difference between view and index ?

1085


What is the difference between physical file and logical file?

1069


is there any way to dynamically merge other html scripts into a given html?

1019


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

2103


where can you specify an indicator in lokup operation?

1723


what do we can do with the embedded sql statements?

1004


what is match field indicator?

1633


how do you use exceptional write in c specs?

1810


how to get the cursor position?

1077


what is the maximum number of record formats in dspf?

1603


what does defn do?

1017


what the purpose of ovrdta, ovrata keywords?

1869


what is the maximum number of subroutines allowed in rpg?

1690