EERM to RM Flashcards

(9 cards)

1
Q

Step 1: Mapping of Regular entity types

A

Create a relation that includes all the attributes of the entity;
Choose one of the key attributes to be a key attribute in the relation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Step 2: Mapping of Weak-entity types

A

Create a relation, add attributes,;
Include primary key of owner as foreign key;
Primary key is combination of foreign key and partial key

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Step 3: Mapping of binary 1:1 relationship

A

Create a relation for the relationship (if needed);
Choose one of the relations and include a foreign key in that relation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Step 4: Mapping of 1:N relationships

A

Create a relation for the relationship (if needed);
Include primary key of 1 side as foreign key of N side

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Step 5: Mapping of M:N relationships

A

Create a relation for the relationship;
Include the primary keys of both sides in the relation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Step 6: Mapping of multivalued attributes

A

Create a relation for the attribute;
Use primary key of the main entity;
Primary key will be primary key from main entity and name of multivalued attribute

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Step 7: Mapping of Composite attributes

A

Create a relation for the attribute (if needed);
Use primary key of the main entity;
Primary key will be primary key from main entity and attributes of the composite attribute

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Step 8: Mapping of N-ary relationships

A

Create a relation for the relationship;
Add the simple attributes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Multiple relations - Superclass and Subclasses

A

Create a relation L for the super class. Create a separate relation for each subclass, where the primary key for each relation is the primary key of the superclass

How well did you know this?
1
Not at all
2
3
4
5
Perfectly