因此,這裏是我的設置我有2臺舊與新的下面(簡化)架構SQL從多個表
Old
[ManName]
[ManNumber]
New
[Manager_Name]
[Manager_Number]
我期待手藝返回以下,但在SQL查詢4列1個查詢,而不是2項的查詢與2列,每列
select distinct manname, mannumber from OLD
select distinct Manager_Name, Manager_Number from NEW
所以我理想中的結果集將有4列:
ManName ManNumber Manager_Name Manager Number
謝謝!
你能舉一個表格數據和所需輸出的例子嗎?另外,哪個RDBMS? SQL Server? –