Mysql 学习(二)

二,索引的学习 1,建立索引 (1)create index zjn(索引名) on zjn(代表) (tyy(字段名)-); (2)在建立表的时候建立的建立方法。index|key (索引名)(属性名) 【ASC|DESC】 例:create table zjn( depton int, index index_deptno(depton) alter table XXX add index (
相关文章
相关标签/搜索