有select a.fname,b.fname from a left outer join b on a.fid=b.fid 现在又有表c 但它和b关联比如b.fid=c.fid,那怎样查询呢
------解决方案--------------------
- SQL code
select a.fname,b.fname from a left outer join b on a.fid=b.fid left join c on b.fid=c.id
select a.fname,b.fname from a left outer join b on a.fid=b.fid left join c on b.fid=c.id