-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
赛题描述
复制表。
复制表并不是数据库中常用的功能,但是可以极大的方便我们测试与运维。其基本功能是在建表时通过select语句,直接创建出一张新的表,新表的结构通过select语句推导出来,数据会直接导入到新表中。
示例:
create table create_table_select_t6 as select t1.id, t1.age, t2.name from create_table_select_t1 t1, create_table_select_t2 t2 where t1.id=t2.id;赛题地址
Reactions are currently unavailable