mysql - How do I design my database with lots of columns? -
there hundreds of columns , thousands of tuples, each column has similar meaning, represent same kind of thing, such different universities.
database should take , how design?
mysql ok ?
hundreds of columns problem , or should divide them tables?
i'm new database, in advance !
you should jonction tables, classical answer issue describe.
basically, structure you'll :
- a "universities" table, list of universities.
- a "departments" table (if determine departements each university, exemple)
- and "universities_departments" table link previous two, each entry (row) saying "this departments exists in university"
Comments
Post a Comment