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

proc sort data=xxx;
by descending sal;
run;
proc sql;
select Sal, monotonic() as count
from xxx
having count in(2,5);
quit;

Is This Answer Correct ?    3 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Mention sas system options to debug sas macros.

1179


what is sas application server, database server, sas olap server and sas metadata server? : Sas-di

1020


What are the data types that sas contain?

1189


How can sas program be validated?

1041


What are the ways in which macro variables can be created in sas programming?

1114


What are common programming errors committed in sas

1152


for whom is sas data integration studio designed? : Sas-di

1005


explain the key concept of sas? : Sas-administrator

1007


Explain the use of proc print and proc contents?

967


is data integration and etl programming is same? : Sas-di

1088


What is your favorite all time computer book? Why?

2513


What is the difference between proportion and average?

3341


Explain what is SAS informats?

1098


where are dashboard components are created and maintained? : Sas-bi

1016


What is the difference between one to one merge and match merge? Give an example.

1069