Eng 6553 group by alias

Waiting for Jenkins...
I believe that the fix for "Referneces" has been like first on my list of future upstream contributions courtesy of VoltDB. It has caused me to spin my wheels at least once.