I\'m trying to update some rows. I only want to update the rows that have ID=0.
The error message I\'m receiving is:
You probably need something like that:
UPDATE ch_15_posts AS t1 JOIN (select MAX(ID)+1 as max FROM `ch_15_posts`) AS t2 SET t1.ID = t2.max WHERE ID = 0