Reuse subquery selects
Hello, I am trying to correctly type a select subquery to use in different other queries:
However when I use the expression in another query I get a typing error
1 Reply
Solution
You need to give an alias for the table.
myUnion().as('u')