我想从具有相同字段的 2 个表的单个联合查询中创建 2 列数据。我有 2 个表,每个表中都有“Utilizations”字段。
我尝试了以下查询,但出现错误。
select Utilizations as "Utilizations A", Utilizations as "Utilizations B" from
(select Utilizations as A, 0 as B from TableA
union all
select 0 as A, Utilizations as B from TableB)