首页 > 技术文章 > mysql 截取前7位

gaobo543013306 2020-05-29 10:40 原文

select  SUBSTRING(t1.xhdwswjgdm,1,7) as fild from xx;  //截取前7位

推荐阅读