This creates an attached, renderable and executable SELECT
statement from this {@link DSLContext}. If you don't need to render or execute this SELECT
statement (e.g. because you want to create a subselect), consider using the static {@link DSL#select(Collection)} instead.
Example:
@see DSL#select(Collection)
DSLContext create = DSL.using(configuration); create.select(fields) .from(table1) .join(table2).on(field1.equal(field2)) .where(field1.greaterThan(100)) .orderBy(field2);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|