MySQL查询某一列中不是数字

包含数字的列 :


SELECT 列名 FROM 表名 WHERE 列名 REGEXP '[0-9]{1,}' ;

不包含数字的列 :


 SELECT 列名 FROM 表名 WHERE 列名 REGEXP '[0-9]{1,}' = 0;

prolove 的头像
  • 668b

  • ae72

  • e1f9

  • bc10

  • 7e54

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Insert the contact form shortcode with the additional CSS class- "bloghoot-newsletter-section"

By signing up, you agree to the our terms and our Privacy Policy agreement.