When I should use one to one relationship?

后端 未结 13 1510
面向向阳花
面向向阳花 2020-11-27 11:32

Sorry for that noob question but is there any real needs to use one-to-one relationship with tables in your database? You can implement all necessary fields inside one table

相关标签:
13条回答
  • 2020-11-27 11:57

    Another use case can be the following: you might import data from some source and update it daily, e.g. information about books. Then, you add data yourself about some books. Then it makes sense to put the imported data in another table than your own data.

    0 讨论(0)
提交回复
热议问题