On Tue, Oct 19, 2021 at 3:48 PM Mithran Kulasekaran <mithranakulasekaran@xxxxxxxxx> wrote: Does that work? I've only seen that type of logic written as-
The are functionally equivalent, though the timing of the _expression_ evaluation differs slightly.
It could also be written as an anti-join:
Select * from template as t where not exists (select 1 from template_staging as ts where t.name = ts.name)
David J.