Skip to content

This Library Management System is built using SQL to efficiently manage books, members, and borrowing records. It allows users to add, update, and remove books, track borrowed and returned items, and calculate fines for late returns. Designed for libraries of any size, the system ensures smooth database operations with optimized queries.

Notifications You must be signed in to change notification settings

subh888999/SQL-Library-management-system-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

21 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“š Library Management System

πŸ›οΈ Overview

The Library Management System (LMS) is a database project designed to manage books, borrowers, and transactions across multiple library branches efficiently. Built using SQL, this system ensures seamless record-keeping, optimized borrowing processes, and efficient data retrieval.

πŸ”Ή Features

  • πŸ“– Book & Borrower Management: Maintain records of books, authors, borrowers, and library branches.
  • πŸ”— Database Relationships: Proper primary & foreign key constraints for data integrity.
  • πŸ”„ CASCADE Operations: Ensure referential integrity with ON UPDATE CASCADE & ON DELETE CASCADE.
  • πŸ“Š Advanced Query Execution: Retrieve insights on book availability, borrower activity, and branch statistics.

πŸ›  Database Schema & Tables

  • tbl_publisher β†’ Stores publisher details.
  • tbl_borrower β†’ Manages borrower information.
  • tbl_library_branch β†’ Represents different library branches.
  • tbl_book β†’ Stores book details, linked to publishers.
  • tbl_book_authors β†’ Tracks authorship of books.
  • tbl_book_copies β†’ Records number of copies per branch.
  • tbl_book_loans β†’ Handles book borrowing transactions.

πŸ” SQL Queries for Data Insights

  • πŸ“Œ Number of copies of "The Lost Tribe" in each branch.
  • πŸ“Œ Borrowers who have not checked out any books.
  • πŸ“Œ Books loaned out from "Sharpstown" branch due on 02/03/2018.
  • πŸ“Œ Borrowers with more than five books checked out.
  • πŸ“Œ Books authored by Stephen King available in the "Central" branch.

About

This Library Management System is built using SQL to efficiently manage books, members, and borrowing records. It allows users to add, update, and remove books, track borrowed and returned items, and calculate fines for late returns. Designed for libraries of any size, the system ensures smooth database operations with optimized queries.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published