mysql查询从一个表Aid获得另一个B表的name,用php输出这个与A表id对应的B表name select * form A,B where a.aid = B.name 转载请注明:有客帮 » php内联查询