56,895
社区成员




mysql> create table teams(teamno integer not null primary key,
-> playerno integer null,
-> division char(6) not null);
Query OK, 0 rows affected (0.75 sec)
mysql> insert into teams values(1,3,'first');
Query OK, 1 row affected (0.19 sec)
mysql> create table teams_copy5
-> (teamno integer not null primary key,
-> playerno integer null,
-> division char(10) not null) as
-> (select *
-> from teams);
Query OK, 1 row affected (0.22 sec)
Records: 1 Duplicates: 0 Warnings: 0
mysql>