Can I help to return true or false for output with this kind of query?
Hey guys,
Can I help to return true or false for output with this kind of query?
select (select 1 from a where fk = b.id) as output from b
I could change it to select true from, but I would still get null if the inner select does not find a record