i learned the correct code for this
UPDATE table SET id = id + 1 WHERE id >= 35 ORDER BY id DESC
this one works.
i will make this as resolved But i only wish to ask and learn that :
you say;
AUTO_INCREMENT field wasn't meant to be used in this way.
database row IDs should normally only be for identification, not for sorting/ordering.
So nobody offer what i do.
can you tell me pls, what happens if i use this id field for sorting/ordering things, is there any disadvantage like database will not work some day etc.?
and what should i do? do i need to make an extra coulumn say no and use this for sorting / ordering subjects..