Skip to content

This project involves designing and managing a retail shop database, including an Entity-Relationship (ER) diagram to outline the data structure, table implementation based on the diagram, and insertion of sample data. Additionally, six queries were created to support key shop operations and data retrieval, enhancing efficiency and decision-making.

Notifications You must be signed in to change notification settings

jaydugad/Data-design-and-Database-management-of-a-retail-shop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Retail Shop Database Project

Project Overview This project is dedicated to designing and managing a comprehensive database system for a retail shop. The main objectives include creating an Entity-Relationship (ER) diagram to outline the data structure, implementing the database tables based on the ER diagram, and inserting sample data for testing and demonstration purposes. Additionally, six queries have been developed to support key shop operations and enhance data retrieval, contributing to improved efficiency and informed decision-making.

Features

1.)Entity-Relationship (ER) Diagram: A detailed ER diagram mapping out the data structure of the retail shop, including entities, attributes, and relationships.

2.)Database Tables: Implementation of database tables as per the ER diagram. Proper indexing and normalization to ensure data integrity and performance.

3.)Sample Data Insertion: Insertion of sample data into the database tables for testing and demonstration.

4.)Key Queries: Six essential queries designed to facilitate various shop operations and data retrieval tasks.

Queries

1.)Calculation of delivery charges: This query calculates delivery charge based on the order’s amount and displays delivery fee and total amount after adding delivery fee. It retrieves information about each customer’s id, customer’s name, order’s id, order’s amount who has ordered.

2.)Sweets in Shopping List but Not in Shopping Basket: This query displays the sweets which were in shopping list but were not in the shopping basket while making an order.

3.)Product Inventory Check: Retrieves sweet id, sweet name, sweet category and stock quantity who are soon going to be out of stock.

4.)Sales Report: This query generates and displays the total revenue of every month and year by using total amount of all the orders.

5.)Best Selling Products: Identifies the top 5 best-selling products in a given timeframe.

6.)Sweets active offer: This query shows the sweets that have active offers right now.

About

This project involves designing and managing a retail shop database, including an Entity-Relationship (ER) diagram to outline the data structure, table implementation based on the diagram, and insertion of sample data. Additionally, six queries were created to support key shop operations and data retrieval, enhancing efficiency and decision-making.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published