您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

mysql不支持select into解决_MySQL

2025/1/1 17:15:29发布9次查看
bitscn.com
mysql不支持select into解决
替代方案 insert into newtablename(column1,column2) select * from oldtablenameinsert into `aw_daily_call_task`(tenantid,sub_product_name, call_type,call_date,expire_date,username,customer_type,start_date,end_date,budget,product_type) select t1.`tenant_id` as tenantid, t1.`sub_product_name`, 1 as call_type, t1.`active_date` as call_date, date_add(t1.`active_date`,interval 1 day) as expire_date, t1.`link_man` as username, 1 as customer_type, t1.`active_date` as start_date, date_add(t1.`active_date`,interval t1.`remain_day` day) as end_date, 1 as budget, t1.`product_type` from `aw_old_products` t1
bitscn.com
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product