SQL常用语句3——case函数,null函数,decode函数,exsits
摘要:
1,case函数 (用于分类统计) 第一种:简单的case函数 case sex when '1条件' then '男(1结果)' when '2条件' then '女(2结果)’ else '其他' end 第二种:case搜索函数 case when sex = '1条件' then '男(1结 阅读全文
posted @ 2021-07-29 16:02 Rainmakerrrr 阅读(412) 评论(0) 推荐(0)
浙公网安备 33010602011771号