摘要: 当使用case when时,有时会需要对某个字段做子串匹配。如果是在where条件中,我们会直接使用 like '%xx%'来匹配,但case when语句不行 这时需要使用instr函数 examples: 阅读全文
posted @ 2018-11-15 16:57 爱斯特拉冈 阅读(4998) 评论(0) 推荐(1) 编辑