Follow
table with itself, matching followee
with follower
to find users who are both following and being followed.followee
.follower
for each group.followee
as follower
and the count as num
.follower
in alphabetical order.erDiagram Follow { varchar followee varchar follower } Follow { followee follower } --|| Follow : ""