left join多表关联
本人新人+菜鸟~~现在遇到个问题,望大虾们指教指教
table a,b,c
a: b: c:
id s1 id s2 id s3
------ -------- --------
1 d 1 e 1 8
2 r 2 q
3 g
select a.id,a.s1,is(b.s2,0)s2,isnull(c.s3,0)s3
from _________________________________________
想用id关联来把a,b,c的记录都显示,null的用0.....