how can optimize the “Using temporary” in this sql

前端 未结 0 1269
被撕碎了的回忆
被撕碎了的回忆 2021-01-18 15:53

My sql is:

EXPLAIN SELECT DISTINCT COMPANYID FROM page_view FORCE INDEX ( groupData ) WHERE COMPANYID = \'24259\' AND DELETE_FLAG = \'N\' GROUP BY createTime, person_

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