I’m wondering if it’s possible to select ‘true’ or ‘false’ from myTable based on if the given row matches some criteria. So, for example if a user does or doesn’t have a value in a column called phone_number I’d do…
select (**some magic here**) as has_phone_number from users;
and the result would be a bunch of ‘true’ or ‘false’
TIA.
or even