ctx.select()
.from(
select(A)
.from(T1)
.union(
select(B)
.from(T2))
.asTable()
)
.orderBy(...)
We want to write a union query combining 3 SELECT and have a single order by clause. Is it possible do with jOOQ? If so can we get an example?
--
You received this message because you are subscribed to the Google Groups "jOOQ User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jooq-user+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
DSL.using(configuration).select(...).union(select(...)).union(select(...)).orderBy(...)
For more options, visit https://groups.google.com/d/optout.
Thanks will check it out
You received this message because you are subscribed to a topic in the Google Groups "jOOQ User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jooq-user/pFeYDbjYXhc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jooq-user+...@googlegroups.com.