Normalizing MySQL data

前端 未结 4 1514
庸人自扰
庸人自扰 2020-12-21 05:55

I\'m new to MySQL, and just learned about the importance of data normalization. My database has a simple structure:

I have 1 table called users with fie

4条回答
  •  猫巷女王i
    2020-12-21 06:00

    In your case, I will abstract out the class that handles this table. Then keep the data normalized. if in future, the data access patterns changes and i need to normalized the data, i css just do so with less impact on the program. I just need to change the class that handles this set of data to query the normalized tables , but return the data as if the database structure never changed.

提交回复
热议问题