Create excel tab structure from sql queries

Hi,

I am trying to set up an excel file with 3 tabs.
Each tab would contain data resulting from an sql call but, while i am able to resolve two tabs that are simple selects and tables, the thirt tab consists of a template:


I can get all the red marked fields as sql queries but i am having a hard time creating the structure for them.

Is there a way to build them as 5 separate tables as in the following picture and then add them together in the same structure ?

Kind regards,
Mihai

I'm not quite sure what you mean by "add them together in the same structure".
What dou you like to have as an output?
Do you like 5 different tables or should it look like that in Excel on one single sheet finally?

Hi Jochen,

I apologize if unclear. I mean is i can get each of the blue marked tables as individual queries


(currently empty)
But i do not know how to create that structure with them on top of each other.
Is that even a possibility ?
Kind regards,
Mihai