I'd like a SELECT query to return specific value if the count of a nested subquery is 0 ...
SELECT
( SELECT (CASE COUNT(*) = 0 THEN 'TRUE' ELSE 'FALSE' END)
FROM List
WHERE Status = 1
AND Deleted = 1
) AS Status
This does not work what is wrong with this syntax?