sql 把表1的count记录数update更新到表2中

把table1中的记录数 select count(*) from table1 更新到table2的一个字段。
在sql server中,可以这样实现 update table2 set records=(select count(*) from table1 ),在access中不能用啊?
求在access中可以实现的语句。

第1个回答  2007-10-02
update table2 set records=(select count(*) from table1 )没设定条件吧
第2个回答  推荐于2021-01-15
update table2 dcount(*,ziduan)
第3个回答  2007-10-02
显然缺少where条件。
相似回答