Ver originalSELECT CASE campo WHEN 1 THEN (SELECT campo FROM TABLA2 T2 WHERE T2.campo=T1.campo) ELSE 'NA' ENDFROM Tabla1 T1;