Wie kriege ich UPDATE hin?
PHP-Code:
UPDATE tabelle_copy SET haendler = '~1' WHERE ean =
(SELECT b.han
-- a.id,a.artikel,a.ean, a.han, a.haendler
FROM tabelle AS a
INNER JOIN tabelle_copy AS b
ON a.ean = b.han
ORDER BY id ASC)
Kommentar