08.01 - Database Concepts Flashcards
Database
A structured collection of items of data that can be accessed by different applications and programs
Relational database
A database where the data items are linked by internal pointers
Table
A group of similar data, in a database, with rows for each instance of an entity and columns for each attribute
Record (database)
A row in a table in a database
Field
A column in a table in a database
Tuple
One instance of an entity, which is represented by a row in a table
Entity
Anything that can have data stored about it, for example, a person, place, event, thing
Attribute (database)
An individual data item stored for an entity, for example, for a person, attributes could include name, address, date of birth
Candidate key
An attribute or smallest set of attributes in a table where no tuple has the same value
Primary key
A unique identifier for a table. It is a special case of a candidate key
Secondary key
A candidate key that is an alternative to the primary key
Foreign key
A set of attributes in one table that refer to the primary key in another table
Relationship
Situation in which one table in a database has a foreign key that refers to a primary key in another table in the database
Referential integrity
Property of a database that does not contain any values of a foreign key that are not matched to the corresponding primary key
Index (database)
A data structure built from one or more columns in a database table to speed up searching for data