elpete
02/11/2022, 8:56 PMDavid Rogers
02/11/2022, 9:01 PMselect *
from foo
outer apply ( select count(*) c from other_table where other_table.id = foo.id) as v
-- ^^^ visible
where v.c > 3
^^^ visible
David Rogers
02/11/2022, 9:02 PMraw
?elpete
02/11/2022, 10:50 PM