Roll
Number
Class
Age
Gender
Subject
Sports
001
1
10
M
Maths
Cricket
002
11
English
Tennis
003
2
9
F
Football
004
4
7
Science
005
3
006
5
007
Art
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.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
Register Now
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.