Skip to content

osama-dev2206/Database_Projects

Repository files navigation

Database Projects

This repository is a collection of relational database design exercises built around real-world application scenarios. Each project demonstrates core database engineering principles across different domains, including entity-relationship modeling, relational schema design, normalized SQL implementations, performance optimization, and supporting documentation.

  • Entity-Relationship Diagrams (ERD) & Relational Schemas
  • Normalized Database Architecture (1NF to 3NF)
  • SQL Implementation Scripts (DDL, DML, Indexes, Views)
  • Database Backup Files & Runnable Samples

Project Timeline

Time Line

Workspace Overview

The repository is organized as a collection of independent project folders. Each folder contains ERD and relational diagrams, SQL scripts (schema creation, seed data, views, indexes), project documentation, and working database backup deliverables.

Currently, Project 1 (Simple Clinic), Project 2 (Simple Library), Project 3 (Karate Club), Project 4 (Car Rental), and Project 5 (Online Store) are fully completed and serve as comprehensive reference designs.


Projects Summary

Project Status Description
Project 1 – Simple Clinic Complete Healthcare clinic database managing patients, doctors, appointments, medical records, prescriptions, and billing/payments.
Project 2 - Simple Library Complete Library management system tracking books, physical copies, authors, user profiles, borrowing history, holds/reservations, and fine tracking.
Project 3 - Karate Club Complete Karate club database managing members, instructors, belt ranks, testing, subscriptions, and financial payments.
Project 4 - Car Rental Complete A relational database design for a Car Rental management system managing vehicles, customers, rental bookings, vehicle returns, and transactions.
Project 5 - Online Store Complete Online store database managing products, customers, orders, payments, shipping, and reviews.

Completed Projects at a Glance

A complete healthcare provider system implemented in SQL Server, centered around patient care and appointment workflows.

A relational database system modeling library inventory management, member borrowing, and overdue penalty calculations.

A relational database system modeling Karate Club membership, instructor assignments, belt testing, and payment tracking.

A relational database design for a Car Rental management system managing vehicles, customers, rental bookings, vehicle returns, and transactions.

A relational database design for an online store management system managing products, customers, orders, payments, shipping, and reviews.


Standard Project Structure

Every project in this repository follows a consistent layout to enable clear comparison across business domains:

  • README.md — Detailed requirements coverage, entity definitions, and design notes.
  • DDL.sql — Schema definition script (tables, primary/foreign keys, constraints, default values).
  • DML.sql — Seed script populating realistic test data across all tables.
  • Index.sql / View.sql — Performance indexes and views for reporting/abstractions.
  • Diagrams (.drawio.svg) — Visual ERD and Relational Schema representations.
  • Database Backups / Files — Pre-built database instances ready for restoration/testing.

Notes

  • This README.md serves as the central landing page and index for all projects.
  • Each project directory is self-contained and isolated from other exercises.

About

Database projects include the ERD (Entity-Relationship Diagram), the Relational Schema, and the database implementation using Microsoft SQL Server.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages