oracle不等于,not in ,not exists的使用
1.<> select * from s_dic s where s.dic_type <> 'ordertype'问题1: <>会自动过滤s.dic_type为空的订单解决方法: 1)截取字符串:返回第一次ordertype出现的位置,找不到对应字符串返回为0,不过dic_type必须保证为非空,所以联合concat一起使用,ins...
原创
2018-04-23 11:30:42 ·
29295 阅读 ·
0 评论