(select code_value_name from sys_code_values_v,csh_margin_check t1 where code='MARGIN_CHECK_STATUS' and code_value = t1.MAR_AFTER_STATUS) mar_after_status_n
from (select t.mar_after_status from csh_margin_check t where t.wfl_status='APPROVED' order by t.creation_date desc) where rownum=1