oracle函数使用传入一个表中字段 如果该字段大于5怎返回3 如果小于5则返回4 这个函数怎么写大虾们 求指教 [解决办法]
select decode(sign(num-5),1,3,-1,4,default_num) as num from tablename