Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 need sql query
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Nav Sweeney
Starting Member

1 Posts

Posted - 10/06/2012 :  13:40:52  Show Profile  Reply with Quote
Hi folks,
I have a SAS dataset with the following columns: THE DATA LOOKS SOMETHING LIKE THE SAMPLE PRESENTED BELOW:

E235888 22/07/2011 200
E797890 22/07/2011 180
E098098 23/09/2011 230
E353454 24/05/2011 290
E809890 02/09/2011 230
E879890 06/08/2011 240
E879890 30/05/2011 150
E879890 25/09/2011 100

I want to create two extra columns:

i. Maximum(highest) wage earned for each and every employee in the last three months
ii. Maximum(highest) wage earned in the last 12 months for those employees who have been with the company for over a year?
iii. last wage (final or most recent wage earned)

Please provide me the SAS logic

Flowing Fount of Yak Knowledge

5155 Posts

Posted - 10/06/2012 :  18:50:53  Show Profile  Reply with Quote
This forum specializes in Microsoft SQL Server; so there are very few if any experts on SAS that frequent this forum. You may get faster and better answers if you posted your question to an SAS forum.
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000