MS Office 365 ProPlus,Access 2007-2016
我想插入一组记录到使用INSERT语句select语句的转出表。这是我正在尝试的...
insert into BurnDownMetrics
(day,project,domain,tot_effort_spent,tot_effort_left,tot_est_effort)
SELECT Date() AS Expr1,
ardmerspk.project,
ardmerspk.domain,
Sum(ardmerspk.effort_spent) AS SumOfeffort_spent,
Sum(ardmerspk.effort_left) AS SumOfeffort_left,
Sum(ardmerspk.tot_effort) AS SumOftot_effort
FROM ardmerspk
GROUP BY ardmerspk.project, ardmerspk.domain;
独子查询(“选择日期()...”)的伟大工程,当我在“创建查询设计”进行测试。它完全按照我的期望返回大约20条记录的集合。但是,当我尝试将其提供给insert语句时,它仅插入一行。
“ Date()”列有点不寻常。但它似乎并不理会查询单独运行时。
你知道这怎么了吗?