update语句
select concat('update table_temp set url=''',url,''' where id=''',id,''';') from table_temp;

 

insert语句
select concat('insert into table_temp (id,url) values (',id,',''',url,''');') from table_temp;