Question 2: These two syntaxes are equivalent. SQL queries describe what you want. SQL processors (part of the DBMS) try to find the optimal way of answering your query. Only testing, within your own configuration, will tell you which is best.
PG
PG
Catch up on SAS Innovate 2026
Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.