UserName, UserID, FollowingUserID
'RachelLim', '1003', '1004'
'YunaKim', '1005', '1007'
'AustinLee', '1007', '1005'
'BenChoi', '1010', '1001'
'RebeccaFang', '1009', '1004'
'AliceAng', '1004', '1003'
Basically, i want to find rows in which userid = followinguserid. How do i do it using select?
Best Answer
You can use SELF JOIN to get result