我需要在 MS Access 2010 中创建一个查询,将来自 4 个不同表的数据组合在一列中。
表格定义如下;
Table 1: date, country, channel, calls_in
Table 2: date, country, channel, calls_out
Table 3: date, country, channel, email
Table 4: date, country, channel, chat
查询应如下所示:
Query 1: Date, country, channel, contacts
联系人列应结合相应日期、国家和渠道的 4 种联系人类型(即 call_in/out、电子邮件和聊天)。
所有 4 个表都有相同的日期和国家。频道特定于每个表。
我一直在努力完成这项工作,但无法理解它。