Advantages and disadvantages of having composite primary key

前端 未结 3 1094
半阙折子戏
半阙折子戏 2021-02-05 23:20

Instead of having a composite primary key (this table maintains the relationship between the two tables which represents two entities [two tables]), the design is proposed to ha

3条回答
  •  独厮守ぢ
    2021-02-06 00:07

    You have to create all the columns in each tables wherever it is used as foreign key. This is the biggest disadvantage.

提交回复
热议问题