EQL statements typically use expressions to compute one or more derived attributes.
Each aggregation operation can declare an arbitrary set of named expressions, sometimes referred to as derived attributes, using SELECT AS syntax. These expressions represent aggregate analytic functions that are computed for each aggregated record in the statement result.
RETURN price AS SELECT AVG(Price) AS "Average Price"The space would have to be removed:
RETURN price AS SELECT AVG(Price) AS AveragePrice