This is the code for the query evaluation of the SELECT statement.
The SELECT statement evaluation proceeds by first determining a tuple from the variable assignments in the From clause. Then the WHERE clause predicate is applied, and if the tuple passes, the SELECT clause attributes are projected.
Evaluate the select clause.