Database design for school attendance system

前端 未结 5 1987
深忆病人
深忆病人 2021-01-02 15:52

I\'m working on a project for a school where a particular module deals with attendance system. I\'m using LAMP(PHP 5.2+ MYSQL 5+) stack for development. Now the school stren

5条回答
  •  醉梦人生
    2021-01-02 16:26

    As long as you indexed your table columns properly, there shouldn't be a big problem with the first table.

    I would disagree with the idea of splitting it up into the 12 classes, because you have no guarantee that that is the way it is going to stay (classes added, classes merge, etc.).

    Mucking up your database normalization for a perceived benefit of efficiency is something you should look at only for extreme circumstances (if ever)

提交回复
热议问题