MySQL - find optimal index for query

前端 未结 0 934
栀梦
栀梦 2020-12-04 07:02

I have query: SELECT DISTINCT a1, a2, a3 FROM t WHERE a4 = \'\' ORDER BY a1, a5

and index: (a4, a1, a5, a2, a3)

Query explain:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题