I would like to transpose table a to table b without knowing exactly how many procedures there are. Is there a way to include a loop inside a query? Thank you in advance!
So far I am just checking what the maximum amount of 'procedures' are, I put all the procedures in an array, and then query all elements from this array. However I would like a query that always works without first defining the maximum amount of procedures.