upate table1 set price=10, sum=10*count
where id in (select id from table1 t, table2 r where t.id=r.parentid and to_date(r.date,'mm')=to_date(sysdate,'mm'))
或者
upate table1 set price=10, sum=10*count
where id in (select id from table1 t, table2 r where t.id=r.parentid)) and to_date(r.date,'mm')=to_date(sysdate,'mm')
根据情况而定