Roll Number | Class | Age | Gender | Subject | Sports |
001 | 1 | 10 | M | Maths | Cricket |
002 | 1 | 11 | M | English | Tennis |
003 | 2 | 9 | F | Maths | Football |
004 | 4 | 7 | F | Science | Football |
005 | 3 | 7 | M | Maths | Cricket |
006 | 5 | 10 | F | Science | Tennis |
007 | 3 | 7 | F | Art | Cricket |
Questions
This sounds a lot like a homework assignment.
So, what have you tried so far?
Proc Freq will likely do 1 and 4
Data step with IF or WHERE for 2
Proc Sort for 3
And why are all of your questions number 1???
Indeed it is a home work.
I had been trying to download the SAS software to work on it but the computer is restricted as it is company owned.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.