select 查询列表 7

from 表 1

连接类型 join 表2 2

on 连接条件 3

where 筛选条件 4

group by 分组列表 5

having 分组后的筛选 6

order by 排序列表 8

limit 偏移,条目数 9