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

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -