how to create subcategories as in the below picture
Hi and welcome to the SAS Communities 🙂
If you want a good and usable answer, you have to give us more than this.
Do you have some data?
What does it look like?
What does your desired result look like?
Have you written some code already?
when it comes to programming a picture is not worth a 1000 words.
What is the question involving "traditional SAS Programming versus Sql"?
The actual data you have and the actual requirement may point to a preferred method or both may be used together.
Considering the appearance, I would almost suspect than somewhat "non-traditional" code as either Proc ODSLIST or the Report Writing Interface in a data step may be one of the tools to generate that sort of output layout.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.