Oracle数据库的union 操作为:
select * from (select * from table1 union select * from table2 ) order by column1Nameasc, column2Name asc
SqlServer数据库的union操作为:
select * from table1 union select * from table2 order by column1Name asc, column2Name asc
本文详细介绍了 Oracle 和 SqlServer 数据库中使用 UNION 进行数据合并的方法,包括如何使用 ORDER BY 对结果进行排序。
Oracle数据库的union 操作为:
select * from (select * from table1 union select * from table2 ) order by column1Nameasc, column2Name asc
SqlServer数据库的union操作为:
select * from table1 union select * from table2 order by column1Name asc, column2Name asc
1478

被折叠的 条评论
为什么被折叠?