hallo wollen eine Abfrage wie folgt auszuführen:Update und wählen Sie die gleiche Tabelle Problem in mysql
UPDATE `stories` SET `position`=(select @i:[email protected]+1)
WHERE `topic` IN
(SELECT `topic` FROM `stories` WHERE `newstype`='2' GROUP BY `topic`)
aber Ziel und das Ziel sind die gleichen Tisch und mysql mir es läuft nicht gestattet. wie kann ich es implementieren?