문제
Loading...
Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview.
![](https://leetcode.com/static/images/LeetCode_Sharing.png)
정답
SELECT DISTINCT Follow.follower, FC.num
FROM Follow
JOIN (
SELECT followee, count(*) AS num
FROM Follow
GROUP BY followee) AS FC
ON Follow.follower = FC.followee
ORDER BY Follow.follower