#2
mywisdom882017-07-23 22:02
|
insert into a (aa,ab,ac,ad)
select sum(b.ba),max(a.ab)+1,1,SYSDATE
from a,b
where a.dd=b.dd and a.dd=10
显示的结果aa=sum(b.ba)*(a表中a.dd=10的个数)
怎么修改