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

Mutual Followers

Return every pair of users who follow each other, listed once with the smaller id first, ordered by the pair.

Table schema

Follows(follower INT, followee INT)

Sample data

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

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.