Unit 5 : Relational Database ( Part 2 ) Flashcards

1
Q

List out the type of relational database ( 3 )

A
  1. 1 : M Relationship
    • 1 Course have many Class
  2. 1 : 1 Relationship
    • Professor shares 1 Department
  3. M : N Relationship
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which relationship is rare in any relational database design?

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

Which is the ideal relational modeling and should be the norm in any relational database design?

A
  1. 1 : M Relationship
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What relationship cannot be implementel as such in the relational model?

A
  1. M : N Relationship
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which relationship is found in any database environment

A
  1. 1 : M Relationship
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the relational database norm ?

A
  1. 1 : M Relationship
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What relationship can M : N Relationships changed?

A
  1. Change to two 1 : M Relationship
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What must contain in M : N Relationship?

A
  1. Primary Keys
  • Linking table contains multiple occurrences of the foreign key values
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What leads to data anomalies?

A
  1. Data Redundancy
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What will be affected when data anamolies occured?

A
  1. Destroy the effectiveness of the database
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is crucial to exercising data redundancy control?

A
  1. Foreign Keys
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What control data redundancies by using common attributes shared by tables

A
  1. Foreign Keys
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is necessary in some situations?

A
  1. Data Redundancy
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What relationship means that entity components were not defined properly ?

A
  1. 1 : 1 Relationship
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What relationship could indicate 2 entities actually belong in the same table ?

A
  1. 1 : 1 Relationship
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What can avoid problems inherent to M:N relationships?

A
  1. Creating a composite entity ( breaking into two 1:M relationships ) or bridge entity

Example on Notion

17
Q

What does composite entity table must contain?

A
  1. At least the primary keys of original tables