But we still don't know what output you want. You haven't told us. Someone made a guess and said this will "get you closer".
Hi @bhca60
Have a look at the attached pdf file, it has some visual illustrations of various SQL Operations and Statements.
Note: Some of the contents may not be supported by SAS's Proc SQL (Window Functions), but for the most part, it should provide you with good overview of how SQL works.
Hope this helps,
Ahmed
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.