如何在联合中已合并2个查询的表中添加1个没有任何匹配项的表

时间:2019-02-14 03:16:29

标签: ms-access

我合并了两个查询... [qry_soldering]和[qry_smtline] ...

SELECT [PIC], [Total seconds], [SortByWeek], [date_worked_smt],[day]
FROM [qry_smt_line]
UNION 
SELECT [PIC], [total time], [SortByWeek], [date_worked_soldering],[day]
FROM [qry_soldering]
ORDER BY [PIC] DESC;

如何在该联合中添加新表[tbl_day]?有可能吗?

1 个答案:

答案 0 :(得分:0)

插入第三个查询以与前两个查询合并-并考虑使用 UNION ALL

{{1}}