Good morning,
I have two questions on how Alteryx builds up queries and submit them when a bunch of In-DB tools are connected togheter:

QUESTION 1
In a workflow like the example above, does Alteryx builds up a multilevel nested query from all the inputs to the final join then submit it at once to the db engine; or does Alteryx builds up a query for each tool, saving results in tmp tables and so processing by steps and submitting many queries one at a time?
Iguess Alteryx builds up a whole multilevel nested query.
QUESTION 2
If I convert the two boxes in two macros with Macro In-DB Outputs and then I connect the two macro's output anchor to the final join, would Alteryx behave differently?
Like building up one nested query for each macro, creating tmp tables for the macro's outputs and then building and submitting a final query corresponding to the final join; or Alteryx will be anyway building up a whole unique nested query corresponding to the two macros operations plus the final join?
Many thanks and have a nice day,
Davide