© 2026 Hedgehog Software, LLC
select a.*, (select b.x from b where a.id = b.a_id) from a
select a.*, case when (select true from b where a.id = b.a_id and b.x = true) = true then true else false end