Relational Architecture, Primary Keys & SQL Syntax
Create database tables, enforce integrity constraints (PRIMARY KEY, UNIQUE, NOT NULL), and perform SELECT, WHERE, ORDER BY, and LIMIT operations.
Learning Objectives & The Relational Model
### Learning Objectives
- Master relational database fundamentals (tables, rows, columns, schemas).
- Enforce entity integrity with `PRIMARY KEY` and `FOREIGN KEY` constraints.
- Categorize SQL statements into DDL (`CREATE`, `ALTER`, `DROP`) and DML (`SELECT`, `INSERT`, `UPDATE`, `DELETE`).
- Filter records dynamically using `WHERE`, `LIKE`, `IN`, and `BETWEEN` operators.
---
### The Relational Database Architecture
Relational Database Management Systems (RDBMS) store structured records in two-dimensional tables consisting of rows (tuples) and columns (attributes). Data relationships are linked using **Foreign Keys**, preventing orphan records and guaranteeing referential integrity.