Skip to content
UNASPACE

Relational Database Concepts

Developed by Edgar F. Codd in 1970, the relational model organizes data into tables (relations) with rows and columns.

  • Collection of related data entries
  • Consists of rows and columns
  • Each table represents an entity
  • Individual data entries in a table
  • Each row represents a single instance of an entity
  • Properties or characteristics of an entity
  • Define the structure of data in a table
  • Set of allowable values for an attribute
  • Defines data type and constraints
  • Uniquely identifies each row in a table
  • Cannot contain NULL values
  • Cannot have duplicate values
  • Can be composite (multiple columns)
  • Column(s) that reference primary key of another table
  • Establishes relationships between tables
  • Maintains referential integrity
  • Primary key cannot be NULL
  • Primary key must be unique
  • Foreign key values must match existing primary key values
  • Or foreign key can be NULL (if allowed)
  • Values must be within defined domain
  • Data type constraints must be followed
  • Each record in Table A relates to one record in Table B
  • Each record in Table A can relate to multiple records in Table B
  • Records in both tables can relate to multiple records in the other
  • Requires junction table to implement

Last updated:

Built with passion by Ngineer Lab