binary:强制区分大小写
regexp:正则匹配
例:查询表users中username字段中存在大写字母的个数
select count(*) from users where binary username regexp '[A-Z]';