跨表直接加工作表名称就可以了
如在本表 =VLOOKUP(A1,A:D,2,FALSE)
跨表加表名 =VLOOKUP(A1,工作表的名称!A:D,2,FALSE)
select a.*, b.*, c.* from ( a inner join b on a.id = b.aid ) inner join c on a.id=c.bid;
不过,看到你写的C.bid=A.id,我大胆的猜测,可能你写错了,是C.bid=B.id,这样语句就应该是:
select a.*, b.*, c.* from ( a inner join b on a.id = b.aid ) inner join c on b.id=c.bid;