2017年2月21日
摘要: 在数据表中对字段建立索引将大大提高查询的速度: 例如:select * from mytable where username='admin' 如果在列username上建立了索引,只需要一次就可以找到该记录 一、mysql索引的类型: 1、普通索引 创建:create index indexnam 阅读全文
posted @ 2017-02-21 23:30 _故乡的原风景 阅读(88) 评论(0) 推荐(0) 编辑