摘要: https://www.cnblogs.com/coco1s/p/9913885.html 大佬博客地址 阅读全文
posted @ 2018-11-06 16:02 壹路桐行丨 阅读(78) 评论(0) 推荐(0) 编辑
摘要: 使用 when case 方法 例如 select count(*),aa from ( select case when sfdd like '%三里屯%' then 'slt' when sfdd like '%五花马% then 'whm‘ end aa from 表名 order byaa 阅读全文
posted @ 2018-11-06 15:31 壹路桐行丨 阅读(1037) 评论(0) 推荐(0) 编辑