Relational Model

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/30

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 1:56 PM on 4/16/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

31 Terms

1
New cards

Relational Data Model

Represent data in the form of tables A named, two-dimensional table is called a relation. Each relation consists of named columns and an arbitrary number of unnamed rows. A named column is called an attribute. Each row of a relation corresponds to a record that contains data

2
New cards

Required

must have a value

3
New cards

Optional

may not have a value

4
New cards

Simple (or atomic)

cannot be broken down into smaller components

5
New cards

Composite

has meaningful component parts

6
New cards

Single-valued

attribute which has only one value

7
New cards

Multivalued Attributes

attribute that may take on more than one value

8
New cards

Stored

value is provided by user

9
New cards

Derived

value is computed or derived from another attribute/s

10
New cards

Identifier

an attribute or combination of attribute whose value distinguishes instances

of an entity type. Must not change in value. Must not be null. Must be unique

11
New cards

Primary Key

an attribute or a combination of attributes that uniquely identifies each row in a

relation

12
New cards

Composite key

a primary key that consists of more than one attribute

13
New cards

Foreign Key

– attribute used to establish the relationship between two tables. A key in a

table/relation always point to the primary key of another table/relation

14
New cards

Integrity Constraints

Rules limiting acceptable values and actions, to facilitate maintaining

the accuracy and integrity of data

15
New cards

Domain Constraints

is a set of values that can be assigned to an attribute ; a

domain definition consists of domain name, meaning, data type, size and allowable

values for the domain values

16
New cards

Entity Integrity

ensures that every relation has a valid primary key

17
New cards

Referential Integrity

rule that maintains consistency among the rows of two relations.

The rule states that if there is a foreign key, either each foreign key value must match a

primary key value or the foreign key value must be null.

18
New cards

Database Normalization

Optimizing table structures. Removing duplicate data entries. Process of efficiently organizing data in the DB. A technique for producing a set of relations with desirable properties, given the data requirements of an enterprise. A formal method that identifies relations based on their primary key and the functional

dependencies among their attributes.

19
New cards

Insertion Anomaly

occurs when certain attributes cannot be inserted into

the database without the presence of other attributes

20
New cards

Update Anomaly

exists when one or more instances of duplicated data is

updated, but not all

21
New cards

Deletion Anomaly

exists when certain attributes are lost because of

the deletion of other attributes

22
New cards

Functional dependency

Describes the relationship between attributes in a relation.

23
New cards

Determinant

attribute or set of attributes on the left hand side of the arrow.

24
New cards

Unnormalized form (UNF):

A table that contains one or more repeating groups.

25
New cards

Repeating group

an attribute or group of attributes within a table that occurs with multiple

values for a single occurrence of the nominated key attributes of that table.

26
New cards

First normal form (1NF):

A relation in which the intersection of each row and column contains one

and only one value, meaning there are no repeating groups (Removing repeating groups).

27
New cards

Second normal form (1NF -> 2NF):

A relation that is in 1NF and with no partial dependencies. Remove partial functional dependencies.

28
New cards

partial functionally dependent attributes

thios attribute are removed from the relation by

placing them in a new relation along with a copy of their determinant in 2NF.

29
New cards

Partial functional dependency

is when a nonkey attribute is functionally dependent on part (but

not all) of the primary key

30
New cards

Full functional dependency:

when a nonkey attribute is functionally dependent on the primary key.

31
New cards

Third normal form (3NF)

A relation in which no non-primary key

attribute is transitively dependent on the primary key. Remove transitive dependencies.