表A,表B,表C 以B为主表,A,C为从表 select a.*,b.*,c.* from B left join A on b.id=a.id left join C on b.id=c.id order by c.date desc;