举个例子说明: select d.id, d.uid,d.username,d.dateline, d.message,d.replynum, c.picid, c.filename from doing d left join( select a.*, b.filename from picture a left join my_picture b on (a.id = b.id and a.mid = b.mid) ) c on c.doid = d.doid limit 1, 20; 解析