Online-Retail-System

๐Ÿ›’ Online Retail Database

A relational Online Retail Database project built with MySQL to model and manage the core data of an online shopping system.

The project focuses on database design, relationships between entities, SQL queries, JOIN operations, and basic sales analysis.

๐Ÿ“Œ Project Overview

This database represents an online retail environment where customers can purchase products, place orders, and make payments.

The project demonstrates how a relational database can organize retail data and connect different business entities through relationships and SQL queries.

๐ŸŽฏ Objectives

๐Ÿ—‚๏ธ Main Entities

The database is organized around core online-retail entities such as:

These entities are connected through relational database relationships to maintain consistent and organized data.

๐Ÿ” SQL Concepts Covered

This project demonstrates practical SQL skills, including:

๐Ÿ“Š Example Analysis

The database can be queried to answer business questions such as:

๐Ÿ› ๏ธ Technologies

๐Ÿ“ Project Structure

Online-Retail-Database/
โ”‚
โ”œโ”€โ”€ database.sql
โ”œโ”€โ”€ queries.sql
โ”œโ”€โ”€ views.sql
โ””โ”€โ”€ README.md

File names may vary depending on the final repository structure.

๐Ÿš€ How to Run

1. Install MySQL

Install MySQL Server and a MySQL client such as MySQL Workbench.

2. Create the Database

Open the SQL script and execute the database/table creation statements.

CREATE DATABASE online_retail;

Then select the database:

USE online_retail;

3. Insert the Data

Run the provided SQL statements for creating and populating the tables.

4. Run Queries

Execute the analysis queries to explore the data and practice different SQL operations.

๐Ÿ’ก What I Learned

Through this project, I practiced:

๐Ÿ‘จโ€๐Ÿ’ป Author

Ziad Sayed Ahmed (Zico)

Junior Data Scientist / Data Analytics Enthusiast

Skills: Python ยท SQL ยท Power BI ยท Machine Learning


โญ If you find this project useful, feel free to explore the repository and the SQL queries.