How to `as` a table name
Hey
,
I have a parent query that use a table let's say A, and in this parent query it contains another query which will also use A, how in drizzle can I as the table name for the sub query ?
The code would roughtly look like so:

I have a parent query that use a table let's say A, and in this parent query it contains another query which will also use A, how in drizzle can I as the table name for the sub query ?
The code would roughtly look like so: