Normalisation & SQL Join - W5

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

flashcard set

Earn XP

Description and Tags

Flashcards covering the key vocabulary and definitions related to database normalization and SQL joins, as discussed in the lecture.

Last updated 9:56 AM on 5/10/25
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

Normalisation

The process of correcting table structures to minimise data redundancies.

2
New cards

Insertion Anomaly

Adding new rows forces user to create duplicate data.

3
New cards

Deletion Anomaly

Deleting rows may cause a loss of data that would be needed for other future rows.

4
New cards

Modification (Update) Anomaly

Changing data in a row forces changes to other rows because of duplication.

5
New cards

Normal Form

A state of a relation determined by applying rules on Functional Dependency.

6
New cards

Functional Dependency (FD)

Semantic restriction that some values for a relation are not possible in reality

7
New cards

Determinant

Any attribute(s) whose value determines other values within a row.

8
New cards

Dependant

Attribute whose value is determined by a determinant.

9
New cards

Partial dependency

Determinant is only part of primary key or candidate key, and dependant is a non-prime attribute.

10
New cards

Transitive dependency

X -> Y; Y -> Z; X is primary key. X determines the value of Z via Y, i.e., X -> Z

11
New cards

First Normal Form (1NF)

Table format, no repeating groups, and PK identified.

12
New cards

Second normal form (2NF)

1NF and no partial functional dependencies.

13
New cards

Third normal form (3NF)

2NF and no transitive functional dependencies.

14
New cards

Boyce-Codd normal form (BCNF)

3NF and every determinant is a candidate key (special case of 3NF).

15
New cards

Cross Join

Select all possible combinations of tuples in R with tuples in S, โ€œ๐‘… โˆ— ๐‘†โ€

16
New cards

Inner Join

Returns combined tuples from two relations that have the same value for a defined attribute (match on the attribute).

17
New cards

Natural Join

Joins tuples based on all attributes with identical names in the two relations, i.e., all common columns, and find matching values in each pair of common columns.

18
New cards

Full Outer Join

Joins tuples from two tables that match on a defined attribute. If no match, the combined row will still appear with missing attributes as NULL (both tables are preserved)

19
New cards

Left Outer Join

Left table is completely preserved. If no match, the attributes from the right side will contain NULL values.

20
New cards

Right Outer Join

Right table is completely preserved. If no match, the attributes from the left side will contain NULL values.

Explore top flashcards

flashcards
Econ Macro Midterm 2
65
Updated 742d ago
0.0(0)
flashcards
Biology Chapter 7 Test
60
Updated 190d ago
0.0(0)
flashcards
Adv.Eng. U.1
72
Updated 1140d ago
0.0(0)
flashcards
Research Methods Sociology
44
Updated 469d ago
0.0(0)
flashcards
Geol 101 - Sedimentary Rocks
25
Updated 758d ago
0.0(0)
flashcards
Ch.1 Terms- Env Sci
22
Updated 939d ago
0.0(0)
flashcards
Natural Selection
48
Updated 1144d ago
0.0(0)
flashcards
Econ Macro Midterm 2
65
Updated 742d ago
0.0(0)
flashcards
Biology Chapter 7 Test
60
Updated 190d ago
0.0(0)
flashcards
Adv.Eng. U.1
72
Updated 1140d ago
0.0(0)
flashcards
Research Methods Sociology
44
Updated 469d ago
0.0(0)
flashcards
Geol 101 - Sedimentary Rocks
25
Updated 758d ago
0.0(0)
flashcards
Ch.1 Terms- Env Sci
22
Updated 939d ago
0.0(0)
flashcards
Natural Selection
48
Updated 1144d ago
0.0(0)