Skip to content

A structured database schema designed for efficient library management, including functionality for tracking authors, books, members, and borrow records. This project demonstrates expertise in SQL and database design principles.

Notifications You must be signed in to change notification settings

Samyuktha0/Library-Management-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“š Library Management System – SQL Project

πŸ” Overview

This project demonstrates a fully normalized relational database design for a Library Management System. It simulates core operations such as cataloging books, managing members, tracking borrow/return activity, and maintaining inventory integrity using SQL.

πŸ› οΈ Tech Stack

  • SQL (DDL & DML)
  • MySQL / PostgreSQL (compatible)
  • ER Diagrams (optional for schema visualization)

🧩 Features

  • πŸ“˜ Book catalog with author and genre mapping
  • πŸ‘₯ Member registration and borrowing history
  • πŸ”„ Borrow/Return tracking with due dates
  • πŸ” Primary & foreign key constraints for data integrity
  • πŸ“Š Efficient querying using joins and indexing strategies

πŸ“ Database Schema

  • Books: BookID, Title, AuthorID, Genre, Availability
  • Authors: AuthorID, Name, Nationality
  • Members: MemberID, Name, Email, JoinDate
  • BorrowRecords: RecordID, MemberID, BookID, BorrowDate, ReturnDate

πŸ“Œ Highlights

  • Designed using 3NF normalization to eliminate redundancy
  • Applied constraints and indexing for optimized performance
  • Sample queries include:
    • Most borrowed books
    • Active members
    • Overdue returns
    • Author-wise book count

πŸš€ How to Run

  1. Clone the repository
  2. Import the SQL schema into MySQL/PostgreSQL
  3. Run sample queries from the queries.sql file
  4. Extend functionality with triggers, procedures, or front-end integration

πŸ“ˆ Use Cases

  • Academic demonstration of relational database design
  • Backend foundation for library or inventory systems
  • Practice for SQL interviews and schema optimization

πŸ™‹β€β™€οΈ Author

Samyuktha Jayanthi
B.Tech CSE (Data Science)
GitHub Profile


Feel free to fork, star ⭐, or contribute!

About

A structured database schema designed for efficient library management, including functionality for tracking authors, books, members, and borrow records. This project demonstrates expertise in SQL and database design principles.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published