I have a table with columns:
[id,name,public_id]
actually the table contains
[1,john,0] [2,sara,0] [3,jack,0] .....
You can do an update like this:
UPDATE table SET public_id = id + 1049
With this, you are using the ID, and adding 1049 to it to get the result you need