EXPLAIN 输出中 type 列,效率从高到低排列正确的是?

数据库

  1. A.ALL > index > range > ref > const
  2. B.const > ref > range > index > ALL
  3. C.range > const > ALL > ref
  4. D.index > ALL > const > range