I have a user table and user_friend table. user_friend shows who I am friend with (so it's uid and fid). I want to get the info of all my friends, so I did:
SELECT UID, Name FROM user WHERE UID = (SELECT FID FROM user_friend WHERE UID = 567445724);
but it gives me a Subquery returns more than 1 row, how should I modify this query?