sql insert for each row in select UNIQUE code example
Example: sql insert for each distinct value
insert into your_table (col1, col2, col3)
select distinct col1, 'newval', col3
from your_table
insert into your_table (col1, col2, col3)
select distinct col1, 'newval', col3
from your_table