CTE / WITH + alias

Playground: https://drizzle.run/zb932yr9sv2w1nzn916wzvdt

How can i generate the same SQL code (left join "bar" as cte1)
without
sql`${cte} as cte1`
Was this page helpful?