mysql创建索引

alter table 表名 add index 索引名 (列名);



sqlite创建索引:

CREATE INDEX 索引名 ON 表名 (字段a,字段b);