How to run a join on the result of a union

I have a union await union(...) and I would like to join it with another table. What should I do? Should I put it inside the union query itself (as monsterous as it would become)?
2 Replies
Angelelz
Angelelz3w ago
You can put the union inside a CTE or a subquery
veeque
veeque3w ago
yess, that's what i was looking for. thanks!
Want results from more Discord servers?
Add your server