selectc.id,c.name,c.sex,c.csdata,d.other fromac,bdwherec.id=d.id(或者c.name=d.name) 多表查询问题,可以把A表虚拟成C,B表虚拟成D..