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.
- π 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.
- 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.
- π 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.