查mysql字段中的数字记录

select * from a where nameregexp '^[0-9]+$' ;

posted @ 2016-09-07 16:07  IT一族  阅读(442)  评论(0)    收藏  举报