MySQL調優(二)——索引最佳實踐

1.全值匹配 EXPLAIN SELECT * FROM employees WHERE name= ‘LiLei’; EXPLAIN SELECT * FROM employees WHERE name= ‘LiLei’ AND age = 22; EXPLAIN SELECT * FROM employees WHERE name= ‘LiLei’ AND age = 22 ANDpositi
相關文章
相關標籤/搜索