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

2019独角兽企业重金招聘Python工程师标准>>> hot3.png

 

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

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

转载于:https://my.oschina.net/u/3677751/blog/2961899

你可能感兴趣的:(mysql截取某个特定字符前面的字符串)