A.GROUP BY WHERE HAVING B.WHE REGROUP BY HAVING C.WHE REHAVING GROUP BY D.HAVING WHERE GROUP BY
A.Select email from student where email!=null B.Select email from student where emailnotisnull C.Select email from student where email<>null D.Select email from student where emailisnotnull
A.LIMIT B.TOP C.COUNT D.SUM