normalisation Flashcards
what are the alternative names for a table ?
entity and relation
what are the alternative names for a record ?
row entity instance
what is the alternative name for a field
attribute, column, and property
what is a relational datebase
the databases consist of many tables that contain s data that is related in some way.
these databases are called relational databases and are managed by the Database Management Systems (DBMS).
what is a primary key
a field in a table that uniquely identifies each record in the table
what is an easy way to make a primiary key
add an extra auto-numbered field to make each record unique
what is a super key
a comnination of fields in a table which uniquely identify each row
what is a candidate key
they are minimal super-keys and they are possible options for primary key s
what is normalisation
the process of representing a problem in the real word as a set of tables
what does normalisation avoid
repeating groups data redundancy anomalies : update insertion deletion complex queries
what is data redundancy ?
expanding the primary key produces data redundancy is when one field has two values like a name and a surname in the name field
what is an update anomaly
when the same data needs to be updated in more than one place
what is deletion anomaly
when deletion cause unecessary loss of data
what is an insertion anomaly
when records are added that do not satisfy the primary key requirements
what are the characteristics of first normal form
no repeating groups
choose a primay key