For each user who subscribes, I created a table in the database for them. And now I'm trying to count the number of these tables, if that makes sense. Is this a logical way to store user information?
If you create a separate table for each user, then probably not. There are more efficient ways to store data and relationships that may be more difficult to learn, but will provide much greater flexibility, capabilities, and scalability in the future.
I think you are probably trying to reproduce the database functionality in your programming, for example. to get a list of users, you need to run a query for each individual user table.
I recommend that you take a look at database normalization (try to focus on the concept of how best to store data without clogging up in details).
source share