select SUBSTRING(t1.xhdwswjgdm,1,7) as fild from xx; //截取前7位
mysql取字段最后一个字符 mysql取字段前几位
转载文章标签 mysql取字段最后一个字符 文章分类 MySQL 数据库
本文章为转载内容,我们尊重原作者对文章享有的著作权。如有内容错误或侵权问题,欢迎原作者联系我们进行内容更正或删除文章。
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
python 判断磁盘是固态还是机械
一、保留字与标识符 1、保留字(1)定义: 保留字即关键字,我们不能把它们用作任何标识符名称。(2)类型: 2、标识符
python 判断磁盘是固态还是机械 python 开发语言 字符串 下划线