Eh... IF is not allowed in SQL... In SQL WHERE does the filtering, use CASE for conditional logic.
Data never sleeps
Ready to join fellow brilliant minds for the SAS Hackathon?
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.