Structure of Relational Databases
📑 5 slides
👁 34 views
📅 3/12/2026
📄 PDF
Introduction to Relational Databases
A relational database stores data in tables with rows and columns
2
Key Components: Relations & Attributes
- Relations are two-dimensional tables with attributes (columns) and tuples (rows)
- Attributes represent entity properties and have unique names within a relation
- Each attribute has a defined domain that restricts possible values
3
Tuples and Database Schema
- Tuples are ordered sets representing single records in a table
- Relation schema defines structure: Relation_Name(Attribute1, Attribute2...)
- Relation instance contains current data that changes with operations
4
Database Keys and Constraints
- Primary keys uniquely identify tuples and cannot be NULL
- Foreign keys reference primary keys to maintain relationships
- Integrity constraints ensure data validity and relationships
5
Summary of Key Concepts
- Relational databases organize data in structured tables with relationships
- Proper schema design and constraints maintain data integrity
- Keys enable efficient data retrieval and relationship management
1 / 5