方法一:正则表达式
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)
2022-11-09 22:28:34
方法一:正则表达式
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)