方法一:正则表达式

 

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)