8 Databases Flashcards
Entity
Anything that can have data stored about it, for example a person, place, event or thing.
Table
A group of similar data in a database with rows for each instance of an entity and columns for each attributes
Record
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
Attribute
An individual data item stored for an entity. For a person, it could be name or date of birth.
Primary Key
A unique identifier of a table. It is a special case of candidate key.
Candidate Key
An attribute in a table where no tuple has the same value
Secondary Key
Candidate key that is an alternative to the primary key.
Foreign Key
A set of attributes in a table that refer to the primary key in another table.
Referential Integrity
Property of a database that does not contain any value of a foreign key that is not matched to the corresponding primary key.
Indexing
A data structure built from one or more columns in a database to speed up searching for data
DBMS
Database Management System. A system software for the definition, creation and manipulation of a database.
SQL
Structured Query Language. The standard query language used with relational database for data definition and modification.