Relational Databases: Core Concepts, Terminologies, and Integrity Rules

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

1/15

flashcard set

Earn XP

Description and Tags

Vocabulary practice flashcards covering fundamental database concepts, relational table components, six relational properties, and relationship integrity rules (Candidate, Primary, Foreign keys, Entity Integrity, and Referential Integrity).

16 Terms

1
New cards

Database

A collection of inter-related data linked together by some mechanism.

2
New cards

Database Management System (DBMS)

A collection of programs used to manage (update, insert, delete, select), protect, and control access to the database.

3
New cards

Relation

A 2-dimensional table in a relational database.

4
New cards

Cell

The intersection between a row and a column in a relation.

5
New cards

Tuple (Record)

An individual row in a table that represents a single object in the relation.

6
New cards

Attribute

A column name of a table that defines the characteristics of the object.

7
New cards

NULL

A special value allowed in a relational database indicating that the attribute value is UNKNOWN or NOT APPLICABLE.

8
New cards

Attribute Domain

The set of allowable values or description of possible values for a given attribute.

9
New cards

Relational Database

A collection of inter-related, proper form relations.

10
New cards

Candidate Key

An attribute (column) or a minimal group of attributes that can uniquely IDENTIFY a tuple in a relation.

11
New cards

Primary Key

The official identifier of a relation, selected from the most suitable candidate key.

12
New cards

Composite Primary Key

A primary key formed when the chosen candidate key consists of a group of multiple attributes.

13
New cards

Foreign Key

An attribute (column) or a group of attributes (2 or more columns) within a relation that matches the value of the primary key or candidate key of the home or another relation.

14
New cards

Entity Integrity Rule

An integrity rule stating that the attribute or combination of attributes of a primary key cannot be NULL, and no two records can have duplicate primary key values.

15
New cards

Referential Integrity Rule

An integrity rule specifying that the value of a foreign key in one table must either match the value of the primary key in another table, or be NULL.

16
New cards

Six Properties of a Relation

The mandatory conditions of a table: unique relation name, single-valued cells, unique attribute names, attribute values from the same domain, order of tuples/attributes does not matter, and unique tuples (no duplicates).