select * from T_City where len(replace(FParentPath,',',','+'_'))-len(FParentPath)=2
FParentPath 查询字段
本条语句 条件是 , 查询 , 在这个字段出现了几次
1=没有
2=1次
3=2次(依次累加)
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3