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

MYSQL 基本SQL语句_MySQL

WBOY
Release: 2016-05-30 17:11:14
Original
818 people have browsed it

复制表结构

 

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

 

复制表结构和数据
 

CREATE TABLE 新表 SELECT * FROM 旧表

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template