A)
select decode(count(*), 0, \'N\', \'Y\') rec_exists from (select \'X\' from dual where exists (select \'X\' from sales
SELECT 'Y' REC_EXISTS FROM SALES WHERE SALES_TYPE = 'Accessories'
The result will either be 'Y' or NULL. Simply test against 'Y'