Select is the parse tree for a select sql statement.
A simple select is handled by:
converting a from clause to Data
applying the where clause
returning Data as the result
In the case of an aggregate the above is done to get the data
then the aggregate functions are exectuted to filter the data