摘要: 1,将空字段转换为0 isnull(字段名,0) 2,case 。。。when SELECT a,b,c, (case d when 1 then '!' when 2 then '@' else '~' end) t from table; 3,将数据转为字符类型:concat 例:转为百分比 C 阅读全文
posted @ 2018-09-19 17:47 Uhey 阅读(143) 评论(0) 推荐(0) 编辑