I have a below query that returns a result. How can query the result which if there is result, return True, and if there is no result, return FALSE??
SELECT a.id
FROM table1 AS a
INNER JOIN table2 AS c
ON (a.id=c.user_id AND a.id=4 AND c.complete_date is NULL AND c.st_number= 8)