select *
from T_ACCNT_APPL_CUST a,
(
select code_value, code_value_name
from t_code_name
where code_kind = '0021'
) b
where a.APPL_STATUS_TYPE = b.code_value
이런식으로 테스트해보고 있는데,
a.APPL_STATUS_TYPE는 char(2) 이고, b.code_value는 VARCHAR2(5)입니다.
근데 서로 잘 조인이 안되네요...
그냥 로직에서 처리했는데, 쿼리에서 할 수 없을까요?