Skip to content

ra7mah/BookStore-DataBase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

BookStore Database

A relational database system designed and implemented for managing a bookstore.
The project includes the SQL schema, ER diagram, and example queries for data analysis.


Project Overview

This database supports bookstore operations such as:

  • Managing books, authors, and publishers
  • Tracking customers and their purchases
  • Handling employees, managers, and store branches
  • Running useful queries for insights (e.g., total purchases, number of books per publisher)

Database Design

Entity-Relationship Diagram

ER Diagram

Database Tables

Database Tables


Technologies Used

  • Database: MySQL
  • IDE: VS Code
  • Design Tools: Figma (ER Diagram), DrawSQL (Table Design)

Queries

Additional SQL queries are provided to:

  • Calculate total purchases per customer
  • List managers and employees
  • Count books per publisher
  • And more!

👉 Check them out here: Queries.md

About

A MySQL database for managing a bookstore, with ER diagram, tables, and sample queries

Topics

Resources

Stars

Watchers

Forks