databases Flashcards
describe what is meant by primary key
A primary key is a unique identifier for each record in the table in this case video id
relational database
.A relational database is a database which recognises the differences between entities by creating different tables for each entity
flat file database
flat file is a database that consists of a single file.The flat file will most likely be based around a singe entity and it’s attributes.flat file database written in the following way :
entity1(attribute1 , attibute 2)
foreign key
The attribute which links two tables together.The foreign key will exist in one table as the primary key and act as the foreign key in another
secondary key
allows a database to be searched quickly.
Referential integrity
Referential integrity means that no foreign key in one table can reference a non-existent record in
a related table