Hello. I’m sitting on my head, I can’t find examples to clarify such a moment for myself. Suppose we do not have any database. The person in the application enters the database name, rows, columns, contents. DB is created. Then the person forgot to enter a couple more columns or rows and added again to the same table. Each time you turn on the application already knows which tables we have.
I am about to present the implementation as follows: A simple table is created in one database:
--- b1 b2 b3
a1
a2
a3
Further, the second table shows the names
a1
a2
a3
Third
b1
b2
b3
Perhaps the third and fourth for their needs.
So, in all examples, tables with the necessary columns are created in advance and then data on rows is very simply added. As in principle, it is done in one of my applications, where each row of my corresponds to an array of several data that correspond to columns.
So the question itself is, how can you make the columns grow in a similar way? Very interested in this issue ...
In general, I understand that there is Excel and, if desired, you can turn the whole thing in it, but unfortunately I do not have such an opportunity.