Skip to content

Muhyd33n/libraryDatabase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Library Database Design Using SQL Server

It demonstrates practical database design, normalisation, and implementation using SQL Server features.

Objective:

The objective was to design and implement the database to support all client needs. Key tasks included:

  • Designing a relational database schema and normalising it to third normal form.
  • Creating related database objects such as stored procedures, user defined functions, views, and triggers.
  • Applying constraints to ensure data accuracy and integrity across the system.

Client Requirements:

The library needed a system that supports the following:

  1. Member registration with full name, address, date of birth, username, and password.
  2. Optional details including email address and telephone number.
  3. Tracking overdue fines, repayments, and outstanding balances.
  4. Retaining member information after membership ends for marketing and audit purposes.
  5. ull online sign up and login capability.
  6. Detailed recording of repayments including date, amount, and payment method.
  7. A complete catalogue of items, including:
  • Title, type (Book, Journal, DVD, or Other Media), author, publication year
  • Date added, status (On Loan, Overdue, Available, or Lost/Removed)
  • ISBN tracking for books only
  • Date marked as lost or removed where applicable
  1. Full loan history with:
  • Member, item, loan date, due date, return date
  • Overdue fee calculation at 10p per day

Entity relationship diagram:

The ERD below illustrates the final database structure designed for this project. Entity Relationship diagram

About

Creation of Library Database using SQL in SQL Server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages