This subquery is part of a large query.
... CASE WHEN tx.call_id IS NULL THEN 0 ELSE 1 END AS \'Transfer\', CASE WHEN AT.VALUE IS NULL THEN