#49 added AS to SELECT-Query, so that it is supported by older postgres versions too