1.创建索引
CREATE INDEX index_telephone ON tab_personinfo(telephone); --单一索引
CREATE INDEX index_telephone_custid on tab_personinfo(telephone,custid); --复合索引
2.删除索引
DROP INDEX index_telephone;
3.查询索引
select * from all_indexes where table_name = 'tab_personinfo'; --查询表的索引
select * from all_ind_columns where table_name = 'tab_personinfo'; --查询表的索引列