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

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -