我有两个查询返回单独的结果集,并且查询返回正确的输出。
如何将这两个查询合并为一个,以便获得一个结果集,每个结果位于单独的列中?
查询一:
SELECT SUM(Fdays) AS fDaysSum From tblFieldDays WHERE tblFieldDays.NameCode=35 AND tblFieldDays.WeekEnding=?
查询 2:
SELECT SUM(CHdays) AS hrsSum From tblChargeHours WHERE tblChargeHours.NameCode=35 AND tblChargeHours.WeekEnding=?
谢谢。