Skip to content

evgeniimatveev/SQL-Database-Design-A-Z

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 

Repository files navigation

SQL Database PostgreSQL RDBMS Course

SQL & Database Design A–Z 📚🧩

Welcome to the SQL & Database Design A–Z Course Repository!
This repository is your complete guide to mastering SQL fundamentals, database normalization, and relational database design.
It’s designed for data analysts, data engineers, and MLOps learners who want to build a strong foundation in PostgreSQL and SQL architecture.

🧭 Table of Contents

📘 What You’ll Learn

  • SQL Fundamentals: SELECT, WHERE, GROUP BY, HAVING, and JOINs.
  • Database Design: Primary keys, foreign keys, and normalization (1NF → 3NF).
  • ER Diagrams: How to model relationships between tables.
  • Subqueries & Window Functions: Advanced SQL logic.
  • Performance Optimization: Indexing, constraints, and efficient queries.
  • Hands-On Projects: Practical examples in PostgreSQL and SQL Server.

🧠 Why This Is Important

Understanding database design is critical for scalable data solutions.
Strong SQL skills help you:

  • Build reliable data pipelines.
  • Design optimized schemas.
  • Collaborate effectively with analysts and engineers.
  • Apply best practices for data integrity and query performance.

🗄️ Repository Structure

archive/
├─ basics/                        # Intro to SQL & relational design
├─ normalization/                 # 1NF, 2NF, 3NF examples with SQL scripts
├─ erd-diagrams/                  # Entity-Relationship Diagrams (PDFs or images)
├─ case-studies/                  # Practical exercises and example databases
├─ scripts/                       # PostgreSQL and MS SQL Server scripts
└─ data/                          # Sample datasets (CSV + SQL)

⚙️ How to Use

Clone this repository

git clone https://github.com/evgeniimatveev/SQL-Database-Design-A-Z.git
cd SQL-Database-Design-A-Z

(Optional) Load SQL scripts into PostgreSQL

psql -U postgres -d database_name -f ./scripts/setup.sql

🌟 Footer / Author

  • 📦 Version 1.0 · 🧑‍💻 Maintained by @evgeniimatveev
  • 🪪 Licensed under MIT · ⭐ Star this repo to support future updates!**

About

SQL database design in PostgreSQL: normalization (1NF→3NF), ERD diagrams, subqueries, window functions, indexing and query optimization

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages