create or replace function aaa_aaa(
cel_cred in number,
prog_cred in number)
return varchar2 is
res varchar2(10);
begin
select case
when ABC in(206, 207, 208, 209, 210, 211, 212, 220, 221, 17) then '206'
end as res
from TABLE_NAME t;
return res;
end aaa_aaa;