1
bugsnail 2016-09-01 16:57:28 +08:00
你需要 insert into table_name select ...join
注意用别名 0 id, xx name 这样把你 select 的字段匹配对应 table 的字段就行了 |
2
phx13ye 2016-09-01 17:01:07 +08:00
You can create one table from another by adding a SELECT statement at the end of the CREATE TABLE statement:
CREATE TABLE new_tbl [AS] SELECT * FROM orig_tbl; |
5
mayokelo 2016-09-01 17:05:41 +08:00
LOAD DATA INFILE
|