日期:2014-05-18 浏览次数:20510 次
select productid from table1 union all select productid from table2 union all select productid from table3
------解决方案--------------------
select distinct * from ( select productid from table1 union all select productid from table2 union all select productid from table3 ) t