sql 建立多表查询的问题
单表查询用的是这个方法
select * from light where prname like '%"&keyword&"%' or model like '%"&keyword&"%' order by id desc
求多表查询方法
------解决方案--------------------select * from light where prname like '%"&keyword&"%' or model like '%"&keyword&"%'
union
select * from light1 where prname like '%"&keyword&"%' or model like '%"&keyword&"%'"