方法一:正则表达式
select * from typg_house_tag where tht_num not REGEXP '(^[0-9]+.[0-9]+$)|(^[0-9]$)'
方法二:length()和char_length()
select * from typg_house_tag where LENGTH(tht_num) != CHAR_LENGTH(tht_num)
Powered by: 博客园 Copyright © 2024 且行且思 Powered by .NET 9.0 on Kubernetes