insert into select [SQL]

insert into `d_mx_think`.`su_article` (id,catid,title,url) select id,catid,title,url from d_mx_phpcms.`t_mx_news`;

 

 update `d_mx_think`.`su_article` as a INNER JOIN `d_mx_phpcms`.`t_mx_news_data` as b ON a.id=b.id SET a.content=b.content; 

posted @ 2017-06-28 11:13  sungx2009  阅读(128)  评论(0编辑  收藏  举报