Databases Flashcards
Database
A structured system to hold data
Relational Database
A database structured to recognize relations between stored items of information
Flat File Database
A Flat file database is a database that stores data in a plain text file. Each line of the text file holds one record, with fields separated by delimiters, such as commas or tabs. While it uses a simple structure, a flat file database cannot contain multiple tables like
a relational database can.
Entity
Any item about which data is stored e.g. Student, Pizza, Stock etc.
Attribute
A feature of the entity
Foreign Key
A unique identifier to each record held in the relational database
Composite Primary Key
A combination of 2+ fields that act as a primary key
Foreign Key
A way to build a relationship
between 2 tables, the foreign key is another tables primary key
Secondary Key
A key that is indexed to allow for faster searching. There can be multiple secondary keys and they
don’t have to be unique.
Inner Join
Combining columns from one + tables by using values common to each.