MySQL 索引最左前缀原则
- 索引最佳左前缀法则:带头大哥不能死、中间兄弟不能断
CREATE TABLE IF NOT EXISTS staff (
id INT PRIMARY KEY auto_increment,
name VARCHAR(50),
age INT,
pos