mysql截取某个特定字符前面的字符串

substring_index( i.`code`,'.',1);

substring_index( 字段,特定字符,第几次出现)

猜你喜欢

转载自my.oschina.net/u/3677751/blog/2961899
今日推荐