Comprehensive ER Modeling and Business Rules in Database Systems

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/49

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.

50 Terms

1
New cards

Entities

An object that will have many instances in the database.

2
New cards

Attributes

Properties or characteristics of an entity or relationship type.

3
New cards

Strong Entity

Exists independently of other types of entities and has its own unique identifier.

4
New cards

Weak Entity

Dependent on a strong entity and cannot exist on its own; does not have a unique identifier.

5
New cards

Entity Instance

Person, place, object, event, concept (often corresponds to a row in a table).

6
New cards

Entity Type

Collection of entities (often corresponds to a table).

7
New cards

Relationship Instance

Link between entities (corresponds to primary key-foreign key equivalencies in related tables).

8
New cards

Business Rules

Statements that define or constrain some aspect of the business.

9
New cards

Good Business Rules

Declarative, precise, atomic, consistent, expressible, distinct, and business-oriented.

10
New cards

Identifiers (Keys)

Unique identifiers for entities in a database.

11
New cards

Cardinality Constraints

Rules that define the number of instances of one entity that can or must be associated with each instance of another entity.

12
New cards

Associative (Bridge) Entities

Entities that are used to link two or more entities together.

13
New cards

Mandatory Vs. Optional

Describes whether the relationship between entities is required or not.

14
New cards

Identifying Relationship

Links strong entities to weak entities.

15
New cards

Appropriate Entities

An object that we are trying to model.

16
New cards

Foundation of Data Model

Business rules that assert business structure and govern how data are stored.

17
New cards

Atomic

Refers to a statement that is one single statement.

18
New cards

Expressible

Refers to rules that are structured in natural language.

19
New cards

Distinct

Refers to rules that are non-redundant.

20
New cards

Consistent

Refers to rules that are internally and externally consistent.

21
New cards

Declarative

Refers to rules that state what is required, not how to achieve it.

22
New cards

Attribute

Property or characteristic of an entity or relationship type

23
New cards

Required Attributes

Attributes that must be present

24
New cards

Optional Attributes

Attributes that may or may not be present

25
New cards

Simple Attribute

An attribute that holds a single value

26
New cards

Composite Attribute

An attribute that can be divided into smaller sub-parts

27
New cards

Single-Valued Attribute

An attribute that holds a single value for each entity

28
New cards

Multivalued Attribute

An attribute that can hold multiple values for each entity

29
New cards

Stored Attributes

Attributes that are physically stored in the database

30
New cards

Derived Attributes

Attributes that are calculated from other attributes

31
New cards

Identifier (Key) Attributes

An attribute (or combination of attributes) that uniquely identifies individual instances of an entity type

32
New cards

Primary Key

Also called an Identifier (Key), it uniquely identifies each record in a database

33
New cards

Composite Identifier

An identifier that requires two or more fields to create a unique identifier for the row

34
New cards

Candidate Identifier

An attribute that could be an identifier and satisfies all of the requirements for being an identifier

35
New cards

Minimum Cardinality

If zero, then optional; if one or more, then mandatory

36
New cards

Maximum Cardinality

The maximum number of instances that can be associated

37
New cards

Naming Attributes

The process of assigning names to attributes following specific conventions

38
New cards

Defining Attributes

State what the attribute is and possibly why it is important

39
New cards

One-to-One

Each entity in the relationship will have exactly one related entity.

40
New cards

One-to-Many

An entity on one side of the relationship can have many related entities, but an entity on the other side will have a maximum of one related entity.

41
New cards

Many-to-Many

Entities on both sides of the relationship can have many related entities on the other side.

42
New cards

Mandatory Cardinalities

A patient history is recorded for one and only one patient.

43
New cards

Patient History Requirement

A patient must have recorded at least one history, and can have many.

44
New cards

One optional, one mandatory

An employee can be assigned to any number of projects, or may not be assigned to any at all.

45
New cards

Relationship Definition

A relationship-links entities together.

46
New cards

Associative Entity Criteria

All relationships for the associative entity should be many.

47
New cards

Associative Entity Identifier

The associative entity preferably has a unique identifier, and should also have other attributes.

48
New cards

Associative Entity Relationships

The associative entity may participate in other relationships other than the entities of the associated relationship.

49
New cards

Ternary Relationships

Ternary relationships should be converted to associative entities (Many to Many relationships).

50
New cards

Associative Entity Description

An associative entity is like a relationship with an attribute, but it is also considered to be an entity in its own right.