需要将两个查询结果
求和,怎样将上图,两个语句合并同时查询求和结果。
参考:,直接将sql放字段就行了
select (select 1 from dual) ,(select 2 from dual)from dual
select a.num + b.num from 表1 a,表2 b where a.日期 between xxx and xxx and b.日期 between xxx and xxx