DBMS

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

1/19

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 3:22 PM on 4/16/24
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

20 Terms

1
New cards

Predicate Logic

assertion can be verified as either true or false.

2
New cards

Set Theory

sets or groups of things are used as the basis for data manipulation.

3
New cards

Components of Relational Model

  • a logical data structure

  • a set of integrity rules

  • a set if operations

4
New cards

Characteristics of a table

  • A table (relation) is as a two-dimensional structure composed of rows and columns.

  • Each table row (tuple) represents data about an entity.

  • Each table column represents an attribute, and each column has a distinct name.

  • Each intersection of a row and column represents a single data value.

  • All values in a column must conform to the same data format. Each column has a specific range of values known as the attribute domain.

  • The order of the rows and columns is not important in a DBMS.

5
New cards

Super key

an attribute or combination of attributes that uniquely identifies any row in the table.

6
New cards

Candidate key

a super key without any unnecessary attributes.

7
New cards

Primary key

a candidate key selected to uniquely identify all other attribute values in any given row; cannot contain null entries.

8
New cards

Foreign key

an attribute or combination of attributes in one table whole values must either match the primary key in another table or be null.

9
New cards

Secondary key

an attribute or combination of attributes used strictly for data retrieval purposes.

10
New cards

Key

an attribute or group of attributes that determines the values of other attributes.

11
New cards

Determination

is the state in which knowing the value of an attribute makes it possible to determine the value of another. It is based on the relationships among the attributes.

12
New cards

Functional Dependence

means that the value of one or more attributes determines the value of one or more other attributes.

13
New cards

Attribute

those value determines another is called the determinant or the key. The attribute whose value is determined by the other attribute is called the dependent.

14
New cards

The Entity Relationship Model (ERM)

is a data model that describes relationships among entities at the conceptual level with the help of ER diagrams.

15
New cards

The Entity Relationship Diagram (ERD)

is a diagram that depicts an entity relationship model’s entities, attributes, and relations.

16
New cards

Entity

is represented in the ERD by a rectangle, also known as an entity box. The name of the entity, a noun, is written in the center of the rectangle.

17
New cards

Attributes

Each entity consists of a set of attributes that describes particular characteristics of the entity.

18
New cards

Integrity Rules

-An entity integrity is the condition in which each row in a table has its own unique identity.

· A referential integrity is the conditional in which every reference to an entity instance by another entity instance is valid.

· Integrity rules are followed to maintain a good database design

19
New cards

Entity Integrity

Requirement -All primary key entries are unique, and no part of a primary key may be null.

Purpose- Each row will have a unique identity, and foreign key values can properly reference primary key values.

Example -No invoice can have a duplicate number, nor can it be null; in short, all invoices are uniquely identified by their invoice number.

20
New cards

Referential Integrity

Requirement-A foreign key may have either a null entry, as long as it is not a part of its table’s primary key, or an entry that matches the primary key value in a table to which it is related. Every non-null foreign key value must reference an existing primary key value.

Purpose-It is possible for an attribute not to have a corresponding value, but it will be impossible to have an invalid entry. The enforcement of the referential integrity rule makes it impossible to delete a row in one table whose primary key has mandatory matching foreign key values in another table.

Example-A customer might not yet have an assigned sales representative (number), but it will be impossible to have an invalid sales representative (number).