在我目前做的问题说出了两个令人困惑的句子:在EER(扩展ER图)中,实体是否可以有多个子类?
1. A property can be either be a house or an apartment. For a house it records ..bula bula
For an apartment, it records .. bula bula
2. A property can be either for sale or rent, or for both. If a property is for sale, it
records .. bula bula. If the property is for rent, it records .. bula bula
这两个是同样的问题。我必须使用子类来表示它吗?
非常感谢。
谢谢您的回答。就我而言,有两种不同类型的小类,即房屋和公寓,以及租赁和销售。我是否需要创建四个不同的子类,例如您提供的子类? –