不以什么开头的时候
select * from type_tbl where type_id like '[^0]%'
不包括什么的时候
select * from type_tbl where type_id like '%[^0]%'
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3