MYSQL 双表联查 + 统计 + 排序
PHP中文网
PHP中文网 2017-04-17 12:06:09
0
2
219
PHP中文网
PHP中文网

认证高级PHP讲师

reply all(2)
大家讲道理

这样可以?
SELECT name,count(userid) FROM vote v,user u where u.id = v.userid group by userid;

刘奇

Whether it can be achieved depends on your SQL level

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!