MySQL SELECT语句查询字符串长度大于、小于或等于指定值
2023-10-20 23:38
MySQL
251
1
1
0
标题录入
封面图
mysql查询字符串长度`length`使用方法: 查询某字段长度大于30的记录: ``` select * from tablename where length(字段名)>30 ``` 查询某字段长度小于或等于8的记录: ``` select * from tablename where length(字段名)<=8 ```
上一篇:
mysql获取当前时间
下一篇:
mysql group by order by 同时使用
标题录入,一次不能超过6条
炒股技巧
T:0.027497s,M:243.62 KB
返回顶部
留言
留言
评论