语法sql:create index 索引名称 on 表名 (字段名称);
实例sql:create index info_task_id on sended_info (task_id);
info_task_id :索引名字自己起得
sended_info :数据库表名称
task_id:数据库字段名称
查询sql:select t.* from sended_info t;
语法sql:create index 索引名称 on 表名 (字段名称);
实例sql:create index info_task_id on sended_info (task_id);
info_task_id :索引名字自己起得
sended_info :数据库表名称
task_id:数据库字段名称
查询sql:select t.* from sended_info t;