单项选择题

当where 子句、聚合函数、group by 子句与having 子句同时出现在一个查询中时,最后执行的就是()

A.聚合函数
B.where 子句
C.group by 子句
D.having 子句