三个表:1.a表:字段有m,n2.b表:字段有n,p3.c表:字段有p,q一条语句selcet a.m,b.n,c.p,c.qfrom ainner join b on a.n=b.ninner join c on b.p=c.p