用一个表的统计结果更新另一个表,在ACCESS中的sql语句怎么写?
sql server 中与之等效的语句是
update tongji1 set table1.all_dur_int=table2.a,table1.calltimes_int=table2.b from tongji1 table1,(select callingno ,sum(duration) as a, count(*) as a from qd1 where left(calledno,2)='00' group by callingno) table2 where table1.callingno=table2.callingno
access中应该怎么写?
问题点数:20、回复次数:1Top
1 楼changechange(http://access911.net 是我的个人网站,欢迎光临)回复于 2003-09-01 21:45:15 得分 20
为什么不用 dcount dsum的域函数?Top




