sql27(Leetcode1729求关注者的数量)
代码:
# Write your MySQL query statement below
select user_id,count(follower_id) as followers_count
from Followers
group by user_id
order by user_id
代码:
# Write your MySQL query statement below
select user_id,count(follower_id) as followers_count
from Followers
group by user_id
order by user_id