Oracle case statement. COMPARE_TYPE WHEN 'A' THEN T1.

Oracle case statement. Simple PL/SQL CASE statement.