oracle 9i 车辆信息表clxx ,数据几百万 其中两个字段:车牌号码(cphm varchar2(10)), 车辆类型(cllx char(2)) 建了组合索引(cphm, cllx) select cphm, count(*) from clxx where cphm>' ' group by cphm; select cllx, count(*) from clxx where cphm>' ' group by cllx; 两句时间接近,都是3s多些 第一句的逻辑基本清楚,cllx