一次将两个属性拿出
我在phpmydamin下运行,老是报错:#1064 - you have an error in your sql syntax; check the manual that corresponds to your mysql server version for the right syntax to use near 'select options_values from products_des_options_values join products_des_attribu' at line 2
------解决方案--------------------
鉴于你的表名比较长。建议查询时为每个表起个别名。然后查询列和条件加上别名。
合并的话。用in 或者or 或者union all 都可以。