Databases Flashcards
Explain entity
a noun - person, place, thing or idea and used as the name of tables
Attribute
they are columns in tables and represent different characteristics of each entity
Explain relationship
represents the associations between the tables
Explain relation
a table
Explain relational database
A database full of relations (tables)
What is functional dependence?
When column B is functionally dependent on column A, it means that the values in column A determine the values of column B
What does A–>B mean?
It means that B is functionally dependent on A
Explain the term primary key
It means that there is one column or a collection of columns that can determine the rest of the columns - uniquely identifies the records of the table
Can primary key have a null value?
No
Explain the term candidate key
Candidate key is closely related to primary key - a candidate key is one of two or more columns that could function as a primary key for the table
What is an unnormalized relation?
It is a table (relation) that satisfies the criteria for a relation but may contain repeating groups
Definition of normal form
A table in normal form possesses a certain desirable collection of properties
Explain normalization
a process in which you identify the existence of potential problems, such as data duplication and redundancy, and implement ways to correct these problems.
Explain first normal form
A table is in 1NF when it does not contain a repeating group
What is concatenation?
connected columns (fields)