select MAT_NM_TEMP =
decode(type,'popular_comp','Popular Computing')
from KPLAN_Ldecode(substr(t0.cag_no,1,1),1,'ab',2,'cd',3,'ef')
decode(type,'popular_comp','Popular Computing')
from KPLAN_Ldecode(substr(t0.cag_no,1,1),1,'ab',2,'cd',3,'ef')
调试欢乐多
select case type when 'popular_comp' then 'Popular Computing' end MAT_MM_TEMP
from KPLAN_L
oracle里有这东东吗?
这是sql server论坛还是oracle?
oracle用decode啦