SAS® Viya®: How to Emulate PROC SQL Using CAS-Enabled PROC FedSQL

Someone asked SAS' Steven Sober if the PROC SQL example noted first in this post could be refactored into PROC FedSQL so it could run faster by leveraging SAS Viya’s in-memory engine CAS? Yes. Here's how.