Let me try to explain my situation for the application what I am working on,
I have close to 7 categories, lets say A,B,C,D,E,F and G.These categories dont have any table in DB side.Now User selects some categories out of these 7 , lets say C,so in category C, I have another bunch of subcategories, namely C1,C2,C3 to C30.Lets assume now that users Selects C2, for C2 subcategories I have table in the database which gets inserted once user enters all the data via front end.Now C2 table has got 8 columns namely c2t1id,c2t2....c2t8. It has autoincrement id column as well which gets autoincrements for every insert to that table and its primary key for that table.
Now my problem, is that I need to show the users all inserts they have across the application in all the tables.User can do insert in all 7 categories and each category has subcategory upt0 30 and as per existing design this becomes close to 210 tables.
Now my login table is structured with id/name/pw.
Now looking at my design from the prospective of db side, I am starting to get the sense that this design is somewhat flawed and I am starting to get the sense that just to retreive 5 records of the user, I need to search 200+ table with long mulititable select join ?
I need some hints as how I should be proceeding further on this.I am ready to redesign in case if it required.