1/28
Looks like no tags are added yet.
functional dependence
dependence of one column on another
redundancy
repetition of related values in a table
normal forms
rules for designing tables with less redundancy
first normal form
the table has a primary key
second normal form
all non-key columns depend on the whole primary key
third normal form
all non-key columns depend on the key
candidate key
simple or composite column that is unique and minimal
minimal
all columns necessary for uniqueness
non-key
column that is not contained in a candidate key
boyce-codd normal form
column a depends on column b, and b is unique
normalization
eliminates redundancy by decomposing a table into two or more tables in higher normal form
denormalization
intentionally introducing redundancy by merging tables
database model
conceptual framework for database systems; has three parts (data structures, operations, and rules)
set
unordered collection of elements enclosed in braces
tuple
ordered collection of elements enclosed in parentheses
table
has a name, fixed tuple of columns, and a varying set of rows
column
has a name and data type
row
unnamed tuple of values
data type
named set of values, from which column values are drawn
relational rules
part of the relational model and govern data in every relational database
business rules
based on business policy and specific to a particular database
sql
structured query language
statement
complete, executable instruction, ending with a semicolon
clause
begins with a keyword, followed by additional language elements
data independence
the organization of rows on a storage device never affects query results
primary key
a column, or group of columns, used to identify a row
foreign key
a column, or group of columns, that refer to a primary key
referential integrity
a relational rule that requires foreign key values are either fully null or match some primary key value
constraint
rule that governs allowable values in a database