본문 바로가기
SQL

leetcode 1729. Find Followers Count

by 무적김두칠 2022. 7. 18.

1
2
3
4
5
# Write your MySQL query statement below
select user_id, count(follower_id) as followers_count
from Followers
group by user_id
order by user_id
cs

 

반응형

'SQL' 카테고리의 다른 글

leetcode 607. Sales Person  (0) 2022.07.18
leetcode 1527. Patients With a Condition  (0) 2022.07.18
leetcode 1141. User Activity for the Past 30 Days I  (0) 2022.04.02
leetcode 178. Rank Scores  (0) 2022.04.02
leetcode 1158. Market Analysis I  (0) 2022.04.01

댓글