Heim  >  Fragen und Antworten  >  Hauptteil

mysql索引 - mysql的范围查询和多值精确查询在查询原理上的区别是什么?

我只知道范围查询between and > < 可以用到一次索引,第二次就用不上了,而多值精确查找in就没这个限制,为什么呢?在索引原理上如何解释?

黄舟黄舟2731 Tage vor752

Antworte allen(1)Ich werde antworten

  • 伊谢尔伦

    伊谢尔伦2017-04-17 15:18:03

    不知道你说的是情况,这两种都是可以用到索引的,你说的第二次是什么意思

    Antwort
    0
  • StornierenAntwort