Database Flashcards
Relational Database
There exists a relation between databases
Non-Relational Database
There does not exist a relation between databases
*Databases do not have to be related
Dialects
“Flavours” of database languages
ex) Oracle, MySQL, MicsrosoftSQL
_______ are types (What should be contained
Columns
_______are the actual entries
Rows
Constraints
Additional Modifiers to data
ex) keys, unique requirements
Primary Key
Unique Identifying column for a table
Cannot be Null
Foreign Key
Reference to another table
Does not strictly have to be referenced to a primary key, but is good practice
Composite Key
Primary Key made up of two or more rows
Surrogate Key
Value generated solely to become the primary key
Multiplicity
Relationship between fields and tables
1-1
1-many
many-many
Referential Integrity
All Foreign Keys need to point to something
Normalisation
Process of removing redundancies in database
Look-Up Table
Essentially joins two tables
Entity Relation Diagram
Maps out the relationships between entities in a database