有P_00001.sql 文件
delete from O1_00001 where f_date=(select f_date from curr_date);
insert into O1_00001
select (select f_date from curr_date),a.org,b.product_cd,sum(1)
from tm_account a,tm_plan b
where
a.acct_no = b.acct_no
group by a.org,b.product_cd;
语句没有问题,执行成功