CTE / WITH + alias
Playground: https://drizzle.run/zb932yr9sv2w1nzn916wzvdt
How can i generate the same SQL code (
without
How can i generate the same SQL code (
left join "bar" as cte1)without
left join "bar" as cte1sql`${cte} as cte1`