How are superclasses and subclasses represented in an Entity-Relationship Diagram (ERD)?
- Superclasses are not represented in ERDs
- Superclasses are represented by circles, and subclasses by rectangles
- Superclasses are represented by diamonds, and subclasses by rectangles
- Superclasses are represented by rectangles, and subclasses by diamonds
In an ERD, superclasses are represented by diamonds, and subclasses by rectangles. The diamond symbolizes the generalization relationship, illustrating that the subclass inherits attributes from the superclass.
Loading...
Related Quiz
- What is meant by "generalization" in the context of data modeling?
- What are derived attributes, and why are they used in database design?
- Which operation is used for summarization in SQL?
- In which scenarios would you prefer using a wide-column store over other NoSQL database types?
- What is the role of a "row key" in a column-family store?