DBMS MODULE 2

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/61

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

62 Terms

1
New cards

Data Model

Conceptual tool to describe data, data relationships, and data semantics.

2
New cards

Entity

Object that exists and is distinguishable from other objects.

3
New cards

Attribute

Property of an entity.

4
New cards

Entity set

Set of entities of the same type sharing the same properties.

5
New cards

Domain

Set of permitted values for an attribute.

6
New cards

Relationship

Association among several entities.

7
New cards

EER model

Enhanced ER model supporting additional semantic concepts.

8
New cards

Superclass

Entity type with one or more distinct subgroups.

9
New cards

Subclass

Entity type sharing common and unique attributes compared to other subclasses.

10
New cards

Attribute inheritance

Subclass inherits attributes and relationships of superclass.

11
New cards

Subclass relationship

One-to-one relationship between superclass and subclass.

12
New cards

Specialization

Top-down process of creating subclasses from a superclass.

13
New cards

Generalization

Bottom-up process of creating a superclass from multiple subclasses.

14
New cards

Participation constraint

Rule deciding if superclass instance must be member of subclass.

15
New cards

Total participation

Every superclass instance must belong to at least one subclass.

16
New cards

Partial participation

Superclass instance may or may not belong to any subclass.

17
New cards

Disjoint constraint

Defines whether instance can belong to multiple subclasses or not.

18
New cards

Disjoint rule

Instance in one subclass cannot belong to another subclass.

19
New cards

Overlap rule

Instance may belong to multiple subclasses.

20
New cards

Subclass discriminator

Attribute used to determine membership of subclasses.

21
New cards

Strong entity

Entity with a primary key that can exist independently.

22
New cards

Weak entity

Entity that cannot be uniquely identified without a strong entity.

23
New cards

Partial key

Attribute of a weak entity used with owner key to uniquely identify it.

24
New cards

Simple attribute

Indivisible attribute (atomic).

25
New cards

Composite attribute

Attribute composed of multiple subparts.

26
New cards

Single-valued attribute

Attribute with one value per entity.

27
New cards

Multi-valued attribute

Attribute with multiple values per entity.

28
New cards

Derived attribute

Attribute whose value is derived from other attributes.

29
New cards

Relationship set

Set of relationships of the same type.

30
New cards

Degree of relationship

Number of participating entity sets.

31
New cards

Unary relationship

Relationship involving one entity set.

32
New cards

Binary relationship

Relationship involving two entity sets.

33
New cards

Ternary relationship

Relationship involving three entity sets.

34
New cards

N-ary relationship

Relationship involving more than three entity sets.

35
New cards

Mapping cardinality

Relationship constraints like 1:1, 1:N, N:1, M:N.

36
New cards

Total participation (ER)

Every entity must participate in the relationship.

37
New cards

Partial participation (ER)

Entity participation in relationship is optional.

38
New cards

Relation

Table with rows and columns in relational model.

39
New cards

Tuple

Row in a relation.

40
New cards

Attribute (relational)

Column in a relation.

41
New cards

Relation schema

Structure: relation name + list of attributes.

42
New cards

Cardinality

Number of rows in a relation.

43
New cards

Superkey

Set of attributes uniquely identifying a tuple.

44
New cards

Candidate key

Minimal superkey.

45
New cards

Primary key

Chosen candidate key for unique identification.

46
New cards

Foreign key

Attribute referring to primary key of another relation.

47
New cards

Referential integrity

Rule ensuring FK matches PK in referenced relation.

48
New cards

Specialization (EER)

Top-down creation of specific lower-level entity types.

49
New cards

Generalization (EER)

Bottom-up merging of entity types into a higher-level type.

50
New cards

Aggregation

Treating relationship as entity to model relationship between relationships.

51
New cards

Mapping strong entity

Table with same attributes; primary key retained.

52
New cards

Mapping weak entity

Table includes strong entity key + partial key.

53
New cards

Mapping composite attribute

Flatten composite into multiple atomic attributes.

54
New cards

Mapping multi-valued attribute

Create separate table storing PK + attribute value.

55
New cards

Mapping many-to-many

Create table with PKs of both entities + relationship attributes.

56
New cards

Mapping one-to-many

Add foreign key to the “many” side.

57
New cards

Mapping one-to-one

Add FK to either entity table.

58
New cards

Mapping weak relationship

Relationship table may be redundant because dependent table already stores required keys.

59
New cards

Specialization mapping Method 1

Create table for superclass + tables for each subclass containing PK of superclass.

60
New cards

Specialization mapping Method 2

Create table for each subclass with inherited + local attributes.

61
New cards

Mapping aggregation

Create table with keys of all participating entities + attributes of aggregated relationship.

62
New cards

Explore top flashcards