像一下where语句如何建立索引比较好?
来源:1-6 数据库基础设计规范

xiaowu9
2017-06-02
cid,uid,sate,rqa 四个字段
where cid=1 and sate=2 order by rqa desc
where uid=1 and sate=2 order by rqa desc
where uid=1 order by rqa desc
where sate=2 order by rqa desc
写回答
1回答
-
sqlercn
2017-06-05
建立索引要结合很多内容进行考虑,并不是说看到WHERE条件就可以知道如何建立索引的,建议你学习完课程内容后自己尝试的进行一下索引优化。
00
相似问题