Table relationship for subtypes

后端 未结 3 1153
遥遥无期
遥遥无期 2020-12-12 03:37

I have a parent table called \'Website\' which holds records about websites. I have a child table called \'SupportSystem\' which holds records about different types of suppo

3条回答
  •  时光取名叫无心
    2020-12-12 04:10

    I would add a new column 'SupportPlatformId" to the "SupportSystem" table which lookup to the table "SupportPlatform", because "SupportSystem" to "SupportPlatform" is probably one-to-one or many-to-one.

    Hence: Website -> (via Website_SupportSystem) SupportSystem -> SupportPlatform

提交回复
热议问题