Duplicate Column Values MySQL -


is there way can duplicate column's values column?

ie:

s_id  img_id 1     - 2     - 3     - 4     - 

to

s_id  img_id 1     1 2     2 3     3 4     4 

update your_table set img_id = s_id; 

Comments

Popular posts from this blog

php - How to build a web site which gives a sub-domain dynamically to every registered user? -

c# - Add item to Generic List / Collection using reflection -