How to avoid quotes around table aliases in jOOQ
问题 I have the following select-query creation: final DSLContext create = DSL.using(..., SQLDialect.POSTGRES); create .select(DSL.field("identifier"), DSL.field("name"), create.selectCount() .from(DSL.table("person")) .where(DSL.field("identifier").eq(DSL.field("personOuter.identifier"))) .asField("count")) .from(DSL.table("person").as("personOuter")) jOOQ generates the following query: select identifier, name, (select count(*) from person where identifier = personOuter.identifier) as "count"