Users Followed by Both
Medium
Social Network Queries
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.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.