Wie aktualisiere ich zwei Tabellen in einer Anweisung?

UPDATE table1, tmpList
  SET table1.ts = tmpList.ts_value
WHERE table1.id = tmpList.id

UPDATE table2, tmpList
  SET table2.ts = tmpList.ts_value
WHERE table2.id = tmpList.id

Ich benutze MySQL

Antworten auf die Frage(4)

Ihre Antwort auf die Frage