#101. [LeetCode / MySQL] 1729. Find Followers Count

문제

 

입력 코드

SELECT user_id, COUNT(follower_id) AS followers_count
FROM Followers
GROUP BY user_id
ORDER BY user_id ASC;

 

코드 설명

#SELECT #COUNT #GROUP BY #ORDER BY

 

 

문제 출처

 

LeetCode - The World's Leading Online Programming Learning Platform

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.

leetcode.com