MYSQL统计重复字段数 先看SQL语句: SELECT distinct ip,count(*) FROM log GROUP BY ip; 该条SQL语句的意思就是从log表中,以ip为组,进行统计每个ip在记录中出现的次数。 Please enable JavaScript to view the comments powered by Disqus. Post Directory