Código SQL [-] update t1 set total=valor1+valor2+valor3+(select sum(valort2) from tabla2 where nrot1=t1.nrot1)
update t1 set total=valor1+valor2+valor3+(select sum(valort2) from tabla2 where nrot1=t1.nrot1)