count(u.id)应该是count(distinct u.id) 去重吧? 不然两个相同值的列比值等于1吧?