Skip to main content
Admissions guidance, study banks, and career tools — get started on Shalyam

Most Followed Users

Return the two users with the most followers (followee, follower_count), ordered by follower_count descending then user id.

Table schema

Follows(follower INT, followee INT)

Sample data

follower | followee
1 | 2
1 | 3
2 | 4
3 | 4
3 | 5
2 | 1
4 | 3

Discussion

No discussions yet.

Rewards · v2.1

Get Exclusive Insights with Every Issue

Join Shalyam Newsletter

Stay ahead in education, research, and innovation—straight to your inbox.