# How to make split tables in Join?

I have a command

Table0[mS_]:=Table[{mS*i,i^2},{i,1,20}]
Table1=Join[Table0[1],Table0[2],Table0[3]]


When calling Table1[[1]] I expect to get the element Table0[1][[1]]. However, instead I get the whole Table[1]. How to split the tables?

• Do you have a type in your second line ? Should Table there be Table0 ? – b.gates.you.know.what May 29 '19 at 12:22
• @b.gatessucks : thank you, I have corrected the code. – John Taylor May 29 '19 at 12:24
• Then it should work and Table1[[1]] -> {1, 1}. – b.gates.you.know.what May 29 '19 at 12:27
• Catenate[Table0 /@ Range[3]][[1]]=={1,1} – Alan May 29 '19 at 12:50

Table0[mS_] := Table[{mS*i, i^2}, {i, 1, 20}]

Table1[[1]] === Table0[1][[1]]