SELECT [ALL | DISTINCT]
{ * | table.* | [ table.field1 [as alias1] [,table.field2 [as alias2]][,…]] }
FROM table_name [ as table_ alias ]
[left|out|inner join table_name2] #联合查询
[WHERE … ] #指定结果需满足的条件
[GROUP BY …] #指定结果按照哪几个字段来分组
[HAVING…] #过滤分组的记录必须满足的次要条件
[ORDER BY… ] #指定查询记录按一个或者多个条件排序
[ LIMIT { [ offset,] row_count | row_countOFFSET offset }] ; # 指定