MIDTERMS Flashcards
is a database design technique that organizes tables in a manner that reduces redundancy and dependency of data
Normalization
Divides larger tables into smaller tables and links them using relationships
Normalization
The purpose of ___ is to eliminate _____ (___) data and ensure data is stored logically
Normalization
Three main rules for normalizing data
Eliminate repeating data
Eliminate partial dependencies
Eliminate transitive dependencies
This rule is all about disallowing multivalued attributes
Eliminating repeating data
This refers to situations where the key for a table is a composite primary key, which means a key composed of MULTIPLE COLUMNS
Eliminating partial dependencies
This refers to situations where in a column in the table refers to a non-key column instead of referring to the primary key of a table
Eliminate transitive dependencies
PROBLEMS that can occur in poorly planned, unnormalized data bases where all the data is stored in one table (flat-file database)
Anomaly
Types of anomalies
Insert
Delete
Update
States that the domain of an attribute must include only atomic values and that the value of any attribute in a row must be single
Atomic value pertains to the built-in atomic data types
ACID
First normal form
ACID MEANING
ATOMICITY
CONSISTENCY
ISOLATION
DURABILITY
According to EF CODD, a relation is in __NF if it satisfies the following conditions
The table should be in the first normal form
there should be no partial dependency
Second normal form
The attributes which are used to form a candidate key are called ___ attributes
Prime attribute
The attributes which do not form a candidate key are called ___ attributes
Non-prime attribute
___ dependency is a concept that specifies the relationship between two sets of attributes where one attribute determines the value of another attribute
Functional dependency