Many-to-Many relationships needing an associate table

前端 未结 6 459
萌比男神i
萌比男神i 2021-01-25 10:18

In many database design tutorials/articles, they always bring up the fact that if two tables share a many-to-many relationship, then a third table should be created to act as an

6条回答
  •  有刺的猬
    2021-01-25 11:09

    Wikipedia describes it too. Just take a look: http://en.wikipedia.org/wiki/Many-to-many_(data_model)

    If you still don't believe that many-to-many do realy need a third table, just try the Authors/Books examble (as described in the wikipedia article) with only two normalized tables.

提交回复
热议问题