by including "where a.date=b.date" in the criteria, you have converted from a left join to an inner join. To make sure it is still a left join, you need to include that as part of the "on" clause...
by including "where a.date=b.date" in the criteria, you have converted from a left join to an inner join. To make sure it is still a left join, you need to include that as part of the "on" clause...
from
tableA A
left join tableB B
on a.id=b.id and a.date=b.date
The 2025 SAS Hackathon has begun!
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.