SQL中类似三元运算符的语句时间:2022-07-05 20:02:33select (case when num>0 then 'Y' when num=0 then 'NG' else 'N' end) as column from table