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
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.
Ready to level-up your skills? Choose your own adventure.