You are reporting the paste Use subquery in case statement.