Hi I need help with below, i need to use proc sql to exclude rows where ('user_type' =user AND amount > 0 )
DATA HAVE DATA WANT
user_type amount user_type amount
user 500 system 200
system 200 user -300
user -300 system -300
system -300
user 1000
where not (user_type = 'user' and amount > 0);
where not (user_type = 'user' and amount > 0);
Thank you
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.
