完整的select语句
select distinct *
from 表名
where ...
group bu ... having ... #集合分组
order bu ...
limit star,count
执行顺序为:
where...
group by ...
having...
order by ...