sql 执行顺序 1. from +join 装载基表2. where 过滤之后分组在过滤3. group by +聚合函数4.having5. 表达式 6.select7.order by + limit 格式化所有记录