编写解决方案,对于每一个用户,返回该用户的关注者数量。
select
user_id,
count(user_id) followers_count
from Followers
group by user_id
order by user_id
编写解决方案,对于每一个用户,返回该用户的关注者数量。
select
user_id,
count(user_id) followers_count
from Followers
group by user_id
order by user_id