这个实用够贱的SQL统计有规律字段中符号个数 用replace , 将空格替换成‘’,就是空的, 然后跟原先的字符长度比较, 得出的就是字符串的个数。 嘿嘿~ 刚刚想到的。 select id, len(nr) - len(replace(nr,' ' , '') ) from temp