摘要: 一、获取数据表的完整结构。红色为表名 show create table member \G; 二、复制表中数据 阅读全文
posted @ 2016-11-29 12:04 上了发条的兔子 阅读(215) 评论(0) 推荐(0) 编辑
摘要: mysql索引的种类及语法 查看一张表上所有索引:show index from 表名; 建立索引:Alter table 表名 add index普通索引/unique唯一索引/fulltext全文索引/primary key主键索引 +列名 删除索引:alter table 表名 drop in 阅读全文
posted @ 2016-11-29 11:38 上了发条的兔子 阅读(682) 评论(0) 推荐(0) 编辑