我在尝试
SELECT object_id, src_big,owner
FROM photo WHERE pid
IN ( SELECT pid FROM photo WHERE aid
IN ( SELECT aid FROM album WHERE owner
IN ( SELECT uid2 FROM friend WHERE uid1 = me()))) ORDER BY created DESC LIMIT 20
但它只给了 2 张照片,但不是给每个朋友。