select name,age from employee where id>7;
1. 首先先找到表 from employee
2. 表存在 MySQL 拿着约束条件 去表里 看依次匹配数据 符合这个条件不
如果匹配的数据 不符合 不应该丢给 select 去打印数据
再去匹配第二条数据
匹配成功的数据 丢给 select 处理 然后 select 根据指定的字段 name,age 去打印数据
where 会把整个记录走一遍
来源: http://www.bubuko.com/infodetail-2985274.html