所以这是我的设置,我有 2 个旧表和新表,具有以下(简化)模式
Old
[ManName]
[ManNumber]
New
[Manager_Name]
[Manager_Number]
我正在寻找一个 SQL 查询,它返回以下内容,但在 1 个查询中有 4 个列,而不是 2 个查询,每个查询有 2 个列
select distinct manname, mannumber from OLD
select distinct Manager_Name, Manager_Number from NEW
所以我理想的结果集应该有 4 列:
ManName ManNumber Manager_Name Manager Number
谢谢!