🧠 My second brain • notes

Search

Search IconIcon to open search

Database

Last updated Jun 5, 2023

A database is a collection of data stored in a computer system.

# Relational database

A database that contains a series of related tables that can be connected via their relationship.

# Database Normalization

Normalization is a process of organizing data in a relational database. For example, creating tables and establishing relationships between those tables. It is applied to eliminate data redundancy, increase data integrity, and reduce complexity in a database.

# Primary key

An identifier that references a column in which each value is unique.

Characteristics:

# Composite key

A primary key constructed using multiple columns of a table.

# Foreign key

A field within a table that is a primary key in another table.

Characteristics: