a rigore non è una query
comunque in generale son fatte così
codice:UPDATE tabella AS t1 LEFT JOIN dettagli AS t2 ON t1.campojoin = t2.campojoin SET t2.campochevuoi=t1.campoche vuoi, t1.campochevuoi=t2.campoche vuoi WHERE (t1.quellochevuoi= booo) AND (t2.quellochevuoi= booo2);

Rispondi quotando