sql搜索指定数据的最大值。
SELECT * ,count(name) as total from shuiwang GROUP BY name order by total desc limit 1
这就是搜索名字出现次数最多。