Skip to content

Girmay18/library-management-system-sql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 

Repository files navigation

Library Management System (SQL)

πŸ“š Project Overview

This project implements a Library Management System using MySQL, designed to manage books, authors, library members, and book loans. The database is fully normalized and includes proper relational constraints to maintain data integrity.

The system supports:

  • Managing books and their authors (many-to-many relationship)
  • Tracking library members
  • Recording book loans
  • Enforcing primary and foreign key constraints for consistency

This project fulfills the Week 8 Final Project Assignment for database design and normalization.


πŸ“ Assignment Details

Objective:
Design and implement a relational database with well-structured tables, relationships, and constraints.

Instructions Followed:

  • Created a relational schema for a Library Management System.
  • Implemented PRIMARY KEY, FOREIGN KEY, NOT NULL, and UNIQUE constraints.
  • Defined relationships:
    • One-to-Many (Members β†’ Loans)
    • One-to-Many (Books β†’ Loans)
    • Many-to-Many (Books ↔ Authors)
  • Provided sample data for quick testing.
  • Delivered as a single .sql file containing CREATE DATABASE and CREATE TABLE statements.

πŸ—‚οΈ Database Schema

Tables:

  1. Members – Stores library member information
  2. Authors – Stores author details
  3. Books – Stores book information
  4. BookAuthors – Resolves the many-to-many relationship between Books and Authors
  5. Loans – Tracks which books are loaned to which members and their loan status

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published