find-followers-count.sql (182B)
1 --Find the number of followers each user has 2 3 SELECT Followers.user_id, COUNT(Followers.user_id) followers_count 4 FROM Followers 5 GROUP BY Followers.user_id 6 ORDER BY Followers.user_id
leetcodeLeetcode submissions | |
| git clone git://git.laack.co/leetcode.git | |
| Log | Files | Refs | README |