批量插入一个表的数据到另一个表


INSERT INTO sysuser_account (user_id,login_account,channel,mobile,login_password,createtime)
SELECT id,base_account_no,channel,mobile,CONCAT('###',`password`),UNIX_TIMESTAMP(NOW()) createtime FROM ttq_base_account ;

posted @ 2016-08-16 10:31  星希望  阅读(1482)  评论(0编辑  收藏  举报