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.
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.
JOIN operations.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.
This project demonstrates practical SQL skills, including:
SELECTWHEREORDER BYGROUP BYINNER JOINLEFT JOINThe database can be queried to answer business questions such as:
JOIN?Online-Retail-Database/
โ
โโโ database.sql
โโโ queries.sql
โโโ views.sql
โโโ README.md
File names may vary depending on the final repository structure.
Install MySQL Server and a MySQL client such as MySQL Workbench.
Open the SQL script and execute the database/table creation statements.
CREATE DATABASE online_retail;
Then select the database:
USE online_retail;
Run the provided SQL statements for creating and populating the tables.
Execute the analysis queries to explore the data and practice different SQL operations.
Through this project, I practiced:
JOINZiad 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.