摘要: 使用case when end时,then后面不能使用双引号,需要使用单引号 如: select count(*) as "违法次数",case when fc.dmsm1 like '%货车%' then '货车'when fc.dmsm1 like '%客车%' then '客车'when fc 阅读全文
posted @ 2019-07-05 16:41 www555 阅读(506) 评论(0) 推荐(0) 编辑