通过一个表的id同时查询多个表的数据

'select c.字段名,x.字段名 as 改为新的显示名,x.字段名 from 表名1 b,表名2 c,表名3 x where b.字段id=' . $id . ' and b.`字段id`=c.`字段id` and c.`字段id`=x.`字段id`';

  

原文地址:https://www.cnblogs.com/hejianrong/p/5834382.html