---
title: "Mysql不支持 SELECT INTO复制表Create table  Select 替代"
author: "不朽之城"
date: "2015-04-09T10:40:52Z"
tags: []
categories: ["数据库"]
slug: "mysql-select-into-create-table-select"
draft: false
lastmod: "2015-04-09T10:41:35Z"
id: 2200501
url: "https://wujq4java.iteye.com/blog/2200501"
---

Mysql不支持

    Select * Into new\_table\_name from old\_table\_name;  
替代方法:  
     Create table new\_table\_name Select * from old\_table\_name where id = -1;

 

insert into dust select * from student;//已经创建了新表dust的情况下