Hi,
I know we can join tables easily under the Table header, but I'm trying to develop a script that would be able to join tables without having to specify the column names.
I have three data tables. The first two columns are always the same, but the others can always change its name. It gets more complicated because for a different batch, I can the same three data tables but the name of the first two columns could change. So I am trying to join all these three tables using the first two column position as the linking column and add the other columns altogether into one big data table.
I tried using variables or column positions but it didn't work. Tried also with the New SQL Query() function but I think that also has to specify columns.
Does anyone have an idea on how we can develop a general script that can simply join three different tables into one?