Eng 6553 group by alias

Waiting for Jenkins...
Will this solution work for aliases that refer to more complex expressions?
```SQL
SELECT a + b AS theSum, COUNT(*) FROM ... GROUP BY theSum;
```