日期:2014-05-18 浏览次数:20573 次
select userid,username,price,vol from table_a ... union all--不去掉上下两语句的重复行 select userid,username,price,vol from table_b... select userid,username,price,vol from table_a ... union--去掉上下两语句的重复行 select userid,username,price,vol from table_b...
------解决方案--------------------
select userid,username,price,vol from table_a ...
union all
select userid,username,price,vol from table_b...