MySQL查询字段为纯数字的数据

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_26975307/article/details/84775809
 select * from table where (loginname REGEXP '[^0-9.]')=0 and createtime > '2018-12-01';

猜你喜欢

转载自blog.csdn.net/qq_26975307/article/details/84775809
今日推荐