Unit 2.3 – Relational Databases, Normalization, and Data Types

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

1/16

encourage image

There's no tags or description

Looks like no tags are added yet.

17 Terms

1
New cards

What is a relational database relationship?

A connection between tables using common fields.

2
New cards

What is a one-to-many relationship?

One record in a table connects to multiple records in another table.

3
New cards

What is a primary key?

A field that uniquely identifies each record in a table.

4
New cards

What is a foreign key?

A field connected to the primary key in another table.

5
New cards

What is the difference between a primary key and foreign key?

Primary key uniquely identifies records; foreign key links tables.

6
New cards

What is a composite key?

A combination of fields that must be unique for every record.

7
New cards

What is normalization?

Organizing database tables to minimize duplication and improve efficiency.

8
New cards

What are normal forms?

Specific rules used to organize and normalize database tables.

9
New cards

What is First Normal Form (1NF)?

Each field contains one indivisible value, and there are no duplicate rows.

10
New cards

What is Second Normal Form (2NF)?

In tables with composite keys, every non-key field depends on the entire key.

11
New cards

What is Third Normal Form (3NF)?

Every non-key column depends only on the primary key, not another non-key column.

12
New cards

What is a transitive dependency?

When one non-key field depends on another non-key field.

13
New cards

What is denormalization?

Deliberately reducing normalization to improve performance or simplify maintenance.

14
New cards

What is a data type?

A definition of how database field data is stored and processed.

15
New cards

What is field length?

The amount of storage space a field uses per record.

16
New cards

Why are data types important?

They determine how data is entered, stored, and calculated.

17
New cards

What is the purpose of a composite key?

To uniquely identify a record using multiple fields.