g1701_1800.s1729_find_followers_count.script.sql Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of leetcode-in-kotlin Show documentation
Show all versions of leetcode-in-kotlin Show documentation
Kotlin-based LeetCode algorithm problem solutions, regularly updated
# Write your MySQL query statement below
# #Easy #Database #SQL_I_Day_7_Function #2023_06_16_Time_1228_ms_(38.04%)_Space_0B_(100.00%)
select user_id, count(follower_id) as followers_count
from followers
group by user_id
order by user_id