프로시저를 생성하면 안되고 실제 운영디비라 select만 가능한데 select만으로는 할 수 있는 방법이 없을까요?ㅠㅠ
with t as ( select 'a' id, 'val1' val from dual union all select 'b' id, 'val2' val from dual union all select 'c' id, null val from dual ) select nvl(t.val,a.txt) val from ( select '값이 존재하지 않습니다.' txt from dual ) a left outer join t on (t.id = 'd')