(a) Relational database concepts Flashcards
What is a relational database?
A database where separate tables are made for each entity, relationships between entities are represented by a foreign key
What is a flat file database?
A database where data is stored in only one table with no relationships
What is a primary key
A unique identifier for each record in a table.
What is a foreign key?
A field in one table that refers to the primary key in another table to create a relationship.
What is a secondary key?
A non-unique attribute used to improve search performance.
What is a composite key?
What is entity relationship modelling (ERM)?
What is normalisation?
The process of dividing larger tables into smaller interlinked tables
What is indexing in databases?