
21/03/2006, 13:18
|
 | | | Fecha de Ingreso: octubre-2003 Ubicación: Puerto Montt
Mensajes: 3.667
Antigüedad: 21 años, 4 meses Puntos: 11 | |
Parece que no, podrías hacer un sql por tienda.
update tabla1 set importe_facturado=(select sum(importe) from tabla2 where tienda='tienda 1') where tienda='tienda 1'
update tabla1 set importe_facturado=(select sum(importe) from tabla2 where tienda='tienda 2') where tienda='tienda 2'
... |