# ganapathi-139/dbms-sql-learning architecture

> Architecture diagram of the GitHub repository ganapathi-139/dbms-sql-learning, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/ganapathi-139/dbms-sql-learning
- Repository: https://github.com/ganapathi-139/dbms-sql-learning

## Overview

This repository is a DBMS and SQL learning course, not an application runtime. Its main workflow is for a learner to progress from DBMS fundamentals through relational SQL and advanced queries, then study database design, transactions, and performance topics. The documented online-shopping project provides SQL practice across schema creation, data, queries, views, indexing, and transactions. Relationships below follow the README’s learning path and project description; source excerpts were not provided, so implementation-level calls cannot be verified.

Main entry points: [`PROJECT/online-shopping-management-system`](https://github.com/ganapathi-139/dbms-sql-learning/tree/main/PROJECT/online-shopping-management-system) (Shopping Project), [`UNIT-1-DBMS-FUNDAMENTALS`](https://github.com/ganapathi-139/dbms-sql-learning/tree/main/UNIT-1-DBMS-FUNDAMENTALS) (DBMS Fundamentals), [`UNIT-2-RELATIONAL-MODEL-BASIC-SQL/01-relational-model.md`](https://github.com/ganapathi-139/dbms-sql-learning/blob/main/UNIT-2-RELATIONAL-MODEL-BASIC-SQL/01-relational-model.md) (Relational Model), [`UNIT-2-RELATIONAL-MODEL-BASIC-SQL`](https://github.com/ganapathi-139/dbms-sql-learning/tree/main/UNIT-2-RELATIONAL-MODEL-BASIC-SQL) (Basic SQL)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_foundations["DBMS Foundations"]
  node_fundamentals["DBMS Fundamentals"]
end

subgraph group_sql["Relational SQL"]
  node_relational["Relational Model"]
  node_basic_sql["Basic SQL"]
  node_er_model["ER Model<br/>[01-er-model.md]"]
  node_advanced_sql["Advanced SQL"]
end

subgraph group_design["Design and Transactions"]
  node_normalization["Normalization"]
  node_transactions["Transactions<br/>[05-transactions.md]"]
  node_recovery["Database Recovery<br/>[06-recovery.md]"]
end

subgraph group_performance["Performance and Practice"]
  node_indexing["Indexing<br/>[01-indexing.md]"]
  node_optimization["Query Optimization"]
  node_tuning_recovery["Tuning and Backup"]
  node_shopping["Shopping Project"]
  node_schema["Project Schema<br/>[schema.sql]"]
  node_sample_data["Sample Data<br/>[data.sql]"]
  node_basic_queries["Basic Queries<br/>[basic-queries.sql]"]
  node_advanced_queries["Joins and Views"]
  node_views_subqueries["Views and Subqueries"]
  node_indexes_transactions["Indexes and Transactions"]
end

node_learner(("Learner"))

node_learner -->|"studies first"| node_fundamentals
node_fundamentals -->|"continues to"| node_relational
node_relational -->|"continues to"| node_basic_sql
node_basic_sql -->|"continues to"| node_er_model
node_er_model -->|"continues to"| node_advanced_sql
node_advanced_sql -->|"continues to"| node_normalization
node_normalization -->|"continues to"| node_transactions
node_transactions -->|"continues to"| node_indexing
node_indexing -->|"continues to"| node_optimization
node_optimization -->|"continues to"| node_tuning_recovery
node_learner -->|"practices with"| node_shopping
node_shopping -->|"uses schema"| node_schema
node_shopping -->|"includes data"| node_sample_data
node_shopping -->|"includes queries"| node_basic_queries
node_shopping -->|"includes joins"| node_advanced_queries
node_shopping -->|"includes views"| node_views_subqueries
node_shopping -->|"includes indexing"| node_indexes_transactions

click node_fundamentals "https://github.com/ganapathi-139/dbms-sql-learning/tree/main/UNIT-1-DBMS-FUNDAMENTALS"
click node_relational "https://github.com/ganapathi-139/dbms-sql-learning/blob/main/UNIT-2-RELATIONAL-MODEL-BASIC-SQL/01-relational-model.md"
click node_basic_sql "https://github.com/ganapathi-139/dbms-sql-learning/tree/main/UNIT-2-RELATIONAL-MODEL-BASIC-SQL"
click node_er_model "https://github.com/ganapathi-139/dbms-sql-learning/blob/main/UNIT-3-ER-MODEL-ADVANCED-SQL/01-er-model.md"
click node_advanced_sql "https://github.com/ganapathi-139/dbms-sql-learning/tree/main/UNIT-3-ER-MODEL-ADVANCED-SQL"
click node_normalization "https://github.com/ganapathi-139/dbms-sql-learning/blob/main/UNIT-4-NORMALIZATION-TRANSACTIONS/01-normalization.md"
click node_transactions "https://github.com/ganapathi-139/dbms-sql-learning/blob/main/UNIT-4-NORMALIZATION-TRANSACTIONS/05-transactions.md"
click node_recovery "https://github.com/ganapathi-139/dbms-sql-learning/blob/main/UNIT-4-NORMALIZATION-TRANSACTIONS/06-recovery.md"
click node_indexing "https://github.com/ganapathi-139/dbms-sql-learning/blob/main/UNIT-5-INDEXING-TUNING/01-indexing.md"
click node_optimization "https://github.com/ganapathi-139/dbms-sql-learning/blob/main/UNIT-5-INDEXING-TUNING/05-query-optimization.md"
click node_tuning_recovery "https://github.com/ganapathi-139/dbms-sql-learning/tree/main/UNIT-5-INDEXING-TUNING"
click node_shopping "https://github.com/ganapathi-139/dbms-sql-learning/tree/main/PROJECT/online-shopping-management-system"
click node_schema "https://github.com/ganapathi-139/dbms-sql-learning/blob/main/PROJECT/online-shopping-management-system/schema.sql"
click node_sample_data "https://github.com/ganapathi-139/dbms-sql-learning/blob/main/PROJECT/online-shopping-management-system/data.sql"
click node_basic_queries "https://github.com/ganapathi-139/dbms-sql-learning/blob/main/PROJECT/online-shopping-management-system/basic-queries.sql"
click node_advanced_queries "https://github.com/ganapathi-139/dbms-sql-learning/blob/main/PROJECT/online-shopping-management-system/joins-and-aggregates.sql"
click node_views_subqueries "https://github.com/ganapathi-139/dbms-sql-learning/blob/main/PROJECT/online-shopping-management-system/views-and-subqueries.sql"
click node_indexes_transactions "https://github.com/ganapathi-139/dbms-sql-learning/blob/main/PROJECT/online-shopping-management-system/indexes-and-transactions.sql"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_fundamentals toneBlue
class node_relational,node_basic_sql,node_er_model,node_advanced_sql toneAmber
class node_normalization,node_transactions,node_recovery toneMint
class node_indexing,node_optimization,node_tuning_recovery,node_shopping,node_schema,node_sample_data,node_basic_queries,node_advanced_queries,node_views_subqueries,node_indexes_transactions toneRose
class node_learner toneIndigo
```

## Components

### DBMS Foundations

- [DBMS Fundamentals](https://github.com/ganapathi-139/dbms-sql-learning/tree/main/UNIT-1-DBMS-FUNDAMENTALS): `UNIT-1-DBMS-FUNDAMENTALS`

### Relational SQL

- [Relational Model](https://github.com/ganapathi-139/dbms-sql-learning/blob/main/UNIT-2-RELATIONAL-MODEL-BASIC-SQL/01-relational-model.md): `UNIT-2-RELATIONAL-MODEL-BASIC-SQL/01-relational-model.md`
- [Basic SQL](https://github.com/ganapathi-139/dbms-sql-learning/tree/main/UNIT-2-RELATIONAL-MODEL-BASIC-SQL): `UNIT-2-RELATIONAL-MODEL-BASIC-SQL`
- [ER Model](https://github.com/ganapathi-139/dbms-sql-learning/blob/main/UNIT-3-ER-MODEL-ADVANCED-SQL/01-er-model.md): `UNIT-3-ER-MODEL-ADVANCED-SQL/01-er-model.md`
- [Advanced SQL](https://github.com/ganapathi-139/dbms-sql-learning/tree/main/UNIT-3-ER-MODEL-ADVANCED-SQL): `UNIT-3-ER-MODEL-ADVANCED-SQL`

### Design and Transactions

- [Normalization](https://github.com/ganapathi-139/dbms-sql-learning/blob/main/UNIT-4-NORMALIZATION-TRANSACTIONS/01-normalization.md): `UNIT-4-NORMALIZATION-TRANSACTIONS/01-normalization.md`
- [Transactions](https://github.com/ganapathi-139/dbms-sql-learning/blob/main/UNIT-4-NORMALIZATION-TRANSACTIONS/05-transactions.md): `UNIT-4-NORMALIZATION-TRANSACTIONS/05-transactions.md`
- [Database Recovery](https://github.com/ganapathi-139/dbms-sql-learning/blob/main/UNIT-4-NORMALIZATION-TRANSACTIONS/06-recovery.md): `UNIT-4-NORMALIZATION-TRANSACTIONS/06-recovery.md`

### Performance and Practice

- [Indexing](https://github.com/ganapathi-139/dbms-sql-learning/blob/main/UNIT-5-INDEXING-TUNING/01-indexing.md): `UNIT-5-INDEXING-TUNING/01-indexing.md`
- [Query Optimization](https://github.com/ganapathi-139/dbms-sql-learning/blob/main/UNIT-5-INDEXING-TUNING/05-query-optimization.md): `UNIT-5-INDEXING-TUNING/05-query-optimization.md`
- [Tuning and Backup](https://github.com/ganapathi-139/dbms-sql-learning/tree/main/UNIT-5-INDEXING-TUNING): `UNIT-5-INDEXING-TUNING`
- [Shopping Project](https://github.com/ganapathi-139/dbms-sql-learning/tree/main/PROJECT/online-shopping-management-system): `PROJECT/online-shopping-management-system`
- [Project Schema](https://github.com/ganapathi-139/dbms-sql-learning/blob/main/PROJECT/online-shopping-management-system/schema.sql): `PROJECT/online-shopping-management-system/schema.sql`
- [Sample Data](https://github.com/ganapathi-139/dbms-sql-learning/blob/main/PROJECT/online-shopping-management-system/data.sql): `PROJECT/online-shopping-management-system/data.sql`
- [Basic Queries](https://github.com/ganapathi-139/dbms-sql-learning/blob/main/PROJECT/online-shopping-management-system/basic-queries.sql): `PROJECT/online-shopping-management-system/basic-queries.sql`
- [Joins and Views](https://github.com/ganapathi-139/dbms-sql-learning/blob/main/PROJECT/online-shopping-management-system/joins-and-aggregates.sql): `PROJECT/online-shopping-management-system/joins-and-aggregates.sql`
- [Views and Subqueries](https://github.com/ganapathi-139/dbms-sql-learning/blob/main/PROJECT/online-shopping-management-system/views-and-subqueries.sql): `PROJECT/online-shopping-management-system/views-and-subqueries.sql`
- [Indexes and Transactions](https://github.com/ganapathi-139/dbms-sql-learning/blob/main/PROJECT/online-shopping-management-system/indexes-and-transactions.sql): `PROJECT/online-shopping-management-system/indexes-and-transactions.sql`

### Other components

- **Learner**

## Connections

- Learner → DBMS Fundamentals: studies first (evidence: `README.md`)
- DBMS Fundamentals → Relational Model: continues to (evidence: `README.md`)
- Relational Model → Basic SQL: continues to (evidence: `README.md`)
- Basic SQL → ER Model: continues to (evidence: `README.md`)
- ER Model → Advanced SQL: continues to (evidence: `README.md`)
- Advanced SQL → Normalization: continues to (evidence: `README.md`)
- Normalization → Transactions: continues to (evidence: `README.md`)
- Transactions → Indexing: continues to (evidence: `README.md`)
- Indexing → Query Optimization: continues to (evidence: `README.md`)
- Query Optimization → Tuning and Backup: continues to (evidence: `README.md`)
- Learner → Shopping Project: practices with (evidence: `README.md`)
- Shopping Project → Project Schema: uses schema
- Shopping Project → Sample Data: includes data
- Shopping Project → Basic Queries: includes queries
- Shopping Project → Joins and Views: includes joins
- Shopping Project → Views and Subqueries: includes views
- Shopping Project → Indexes and Transactions: includes indexing
