在select后面加上/*+index(索引列索引名)*/进行查询例子:createindexidx_ttontt(id);创建索引select*fromtt;查询tt表select/*+index(ttidx_tt)*/*fromtt;提示oracle走索引查询tt表