Home >Database >Mysql Tutorial >MYSQL 基本SQL语句_MySQL

MYSQL 基本SQL语句_MySQL

WBOY
WBOYOriginal
2016-05-30 17:11:14815browse

复制表结构

 

CREATE TABLE 新表 SELECT * FROM 旧表 where 1=2

 

复制表结构和数据
 

CREATE TABLE 新表 SELECT * FROM 旧表

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn