日期:2014-05-18 浏览次数:20473 次
select * from( select row_number()over(partition by UID order by getdate()) as row, * from a)t full join (select row_number()over(partition by UID order by getdate()) as row, * from b)m on a.row=b.row ------解决方案--------------------