时间:2021-07-01 10:21:17 帮助过:3人阅读
注意insert into select 没有valus ,没有括号
insert into zforce.shop_all (shop_name,address,city_id,market_circle_id,cat_id) select shop_name,shop_address,city_id,market_circle_id,business_scope from backend.franchise_tore_info where create_time >=‘2014-09-25 18:33:13‘
SELECT INTO 的用法是 select val1,valu2 into tab2 from tab1。要求tab2不存在,插入时会自动创建tab2
数据库表复制语句
标签: