A beginner-friendly MySQL project that models an online store: customers, products, orders and payments. I am building it step by step while learning SQL, from basic queries to advanced topics.
- MySQL 8.0
- MySQL Workbench 8.0 CE
Run the files in this order:
01_database_setup/01_create_database.sql01_database_setup/02_create_tables.sql03_sample_data/01_insert_data.sql
- Project structure
- Create tables
- Sample data
- Basic queries
- Joins and aggregations
- Subqueries, CTEs, window functions
- Transactions, procedures, triggers
- Business analysis