MySQL查询某一列中不是数字

包含数字的列 :


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

不包含数字的列 :


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

prolove 的头像
  • 0970

  • a933

  • c46c

  • b50f

  • 3d17

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.