方法一:正则表达式

 

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)

相关文章:

  • 2021-11-23
  • 2022-12-23
  • 2021-10-08
  • 2022-01-07
猜你喜欢
  • 2022-12-23
  • 2021-07-11
  • 2022-01-16
相关资源
相似解决方案