Databases Flashcards
A database
A database is a (large) collection of data item and link between them, structured in a way that allows it to be accessed by a number of different application programs
Table
A table is a flat file where data is converted into rows and columns
Record
A record is a collection of data items which may be of different data types, all relating to the individual or object that the record describes. Records are represented by a row in a table.
Field
A field is part of a record designed to hold a single data item specified type. Fields are represented by a column in a table
Primary key
A primary key is a field that uniquely identifies an individual record in a table
Foreign key
When the primary key from one table appears as a field in a second table, it is known as a foreign key of the second table. This forms a connection between tables
Composite key
A composite key is a key that consists of 2 or more fields