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...

how to get second highest salary from a employee table and
how get a 5th highest salary from a employee table?

Answer Posted / na

Proc sql;
Select salary
From
Where salary in (select max
(salary) from
Where salary <(select max
(salary) from
));
Quit;
For second salary
calculation

If salary is not repeted
then
Proc sort data= xxx;
By salary;
Run;
Options firstobs =5;
Proc print data = xxx;
Var salary;
Run;

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the work of tranwrd function?

1179


explain the concepts and capabilities of business object? : Sas-bi

908


i want for interview question & answer plz it need immediate send t my mail raviprakashmot@gmal.cm

2316


Explain data_null_?

1003


how can you import .csv file in to sas? : Sas programming

1045


What is a method to debug and test your SAS program?

1274


hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?

2035


Have you used macros? For what purpose you have used? : sas-macro

991


What is slibref?

1211


how to create the AE dataset by using SDTMIG specifications and SAP plan by using UNIX platform?

2700


What are the differences between proc means and proc summary?

1066


Explain what is data step?

1130


Which command is used to save logs in the external file?

1027


Do you know the features of sas?

994


How to test the debugging in sas?

1110