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

Users Followed by Both

Return the users that are followed by both user 1 and user 2, ordered by user id.

Table schema

Follows(follower INT, followee INT)

Sample data

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

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.