用length方法
select t.* from tp_area t where substr(t.area_id,0,2)='03' and length(t.area_id)>2
本文介绍了一种使用SQL进行数据筛选的方法,通过substr和length函数组合,实现对特定字段的有效过滤。
用length方法
select t.* from tp_area t where substr(t.area_id,0,2)='03' and length(t.area_id)>2
5272

被折叠的 条评论
为什么被折叠?
