select u.vip, count(v.info_id) as visit_nums, count(distinct u.user_id) as visit_users from visit_tb v left join uservip_tb u on v.user_id = u.user_id group by u.vip order by visit_nums desc;
相关推荐