Virtual Library in MySQL

Virtual Library in MySQL

Virtual Library is a relational database project developed in MySQL that models the core functionality of a library management system. The database manages users, books, authors, and book loans, including booking dates, expected return dates, real return dates, and loan status.

The project focuses on proper database normalization, enforcing relationships through foreign keys, and handling many-to-many relationships between books and authors using a junction table. It also includes aggregated queries to analyze usage patterns and detect delayed returns.

Key features:

  • Relational database design with normalized tables
  • Many-to-many relationship implementation (books–writers)
  • Book loan tracking with status and return dates
  • Detection of delayed bookings using date-based queries
  • Aggregated queries (most booked books, active users)
  • Extensive use of JOIN, GROUP BY, GROUP_CONCAT, and date functions

Booked books view
GitHub Page
Contact me!
LinkedInGITHUB