Select MAX or Order By Limit 1

后端 未结 3 1803
生来不讨喜
生来不讨喜 2021-02-14 03:44

MIN/MAX vs ORDER BY and LIMIT

To follow up on this question: I found some results very different from what Sean McSomething describes:

I have a table with about

3条回答
  •  半阙折子戏
    2021-02-14 04:20

    I've a similar situation, index on the column in question, and yet the order by & limit solution seems quicker. How good is that :)

提交回复
热议问题