提问
select equName,groupName,equStatus,case when equStatus = '运行'then '1'
whenequStatus = '待机'then '2'
whenequStatus = '关机'then '3'
whenequStatus = '报警'then '4'
end as status
from d1
为啥显示不支持,sql语句有问题吗?
换个关键词? mikedbz 发表于 2021-12-10 14:07
换个关键词?
换啥关键字 status 解决了吗? what?
页:
[1]