How srikanththan/librarymanagementsystem works
Project type and purpose
• This is a SQL-based Library Management System. Its sole “runtime” component is a relational database (“Library”) with a collection of tables to manage books, customers, employees, branches, and book-issue/return transactions. There is no separate frontend or application server here—everything happens within the database via SQL scripts and queries.
File structure
• Top-level files:
• LibraryManagementSystem.sql – DDL/DML scripts to create tables, relationships, indexes, and insert sample data.
• LibraryDataset_xlsx.xlsx – Source data used to populate the database.
• Library Management System-SQL Project.pdf – Documentation and/or detailed ERD.
• README.md – Project overview, features, and key queries.
• No “src/” or “frontend/” folders, no microservices or application code. The architecture centers on the database schema and data load process.
README for additional insights
• Key domain entities: Book, Customer, Employee, Branch, Issuance/Returns.
• Core use cases: CRUD on each entity, reporting on availability, employee payroll, usage statistics, branch staffing, etc.
• Analytics: ten sample queries for business insights.
Elements
• Clear labels for each component:
– Excel Data Source
– ETL Script
– Tables: Book, Customer, Employee, Branch, Issuance
– Query Engine/Report Client
– From Excel → ETL Script → Database
– From Database → Query Engine
– Between tables to denote FKs (e.g., Book.issue_id → Issuance.id)
– Reports/queries (orange rectangles)
Detail without overthinking
• Break the database into its five core tables.