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

what is the one statement to set the criteria of data that can be coded in any step? : Sas programming

1089


Mention how to limit decimal places for the variable using proc means?

1057


what is sas and what are the functions? : Sas-administrator

930


What does proc print, and proc contents are used for?

1059


what does the run statement do? : Sas programming

989


Describe 5 ways to do a “table lookup” in SAS?

1087


What makes sas stand out to be the best over other data analytics tools?

1002


what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi

1033


Give some ways by which you can define the variables to produce the summary report (using proc report)?

1031


Is the physical structure of the data set in the same orientation as the report? Do you need to reshape the data sets? What method should you use to reshape the data–DATA steps,PROC TRANSPOSE,output data set from a procedure?

2178


Explain translate function?

1128


Can you execute macro within another macro? If so, how would sas know where the current macro ended and the new one began? : sas-macro

1132


How many data types are there in SAS?

1005


Differentiate between ceil and floor functions.

1102


Are you involved in writing the inferential analysis plan? Tables specfications?

2507