Hacker News new | ask | show | jobs
by geysersam 512 days ago
It's possible. You just have to use ctes:

   with arg_to_bar as (from baz()),
        arg_to_foo as (from bar()),
   from foo()
Where `arg_to_bar` is a table name used internally in `bar`.
1 comments

I clarified what I meant by an example in the other reply.