Leetcode SQL-5017. Find Followers CountOn this page17. Find Followers Count Problem https://leetcode.com/problems/find-followers-count/description/?envType=study-plan-v2&envId=top-sql-50 Solution select f.user_id, count(distinct f.follower_id) as followers_countfrom Followers fgroup by f.user_idorder by f.user_id group by user_id to have distinct user id in the output