sql多表查询例子:如果两个表只是其中一个字段有关联:select * from 表a,表b where 表a.字段 = 表b.字段如果2个表的结构一摸一样:select * from 表a union select * from 表b where 条件