@Override
    public Query as(String alias) {
        return new Query(DSL.name(alias), this);
    }
Create a <code>stroom.query</code> table reference
stroom-dashboard/stroom-storedquery-impl-db-jooq/src/main/java/stroom/storedquery/impl/db/jooq/tables/Query.java