Add appropriate 'AS' into SQL column aliases.

So that it will work with PostgreSQL
Merge pull request #29 from mwchambers/master

Add appropriate 'AS' into SQL column aliases.