Capstone: Design an Ecommerce Schema
Part of the MySQL course
Every lesson so far handed you a table and asked you to query it. Real work runs the other way round: somebody describes a shop, and you have to decide what the tables are, which relationships need enforcing, what happens when a product is deleted, and whether creating an order can leave the database half-finished. That is the skill this capstone exercises.
Try each step yourself before reading the version below it. Getting a design slightly wrong and then seeing why is worth more than copying one that works. ...
Want to learn MySQL Capstone: Design an Ecommerce Schema in a real environment?
Click below, get a fresh Linux box with MySQL ready to go, and work through Capstone: Design an Ecommerce Schema hands-on with an AI tutor that knows your code.
Start this lessonCapstone: Design an Ecommerce SchemaWhat you'll learn
- Foreign keys
- ON DELETE behavior
- Indexes on lookup columns
- Transactional order creation
- EXPLAIN on a real query
Read this lesson in your language
All lessons in this course
13 lessons- 1What is MySQL20 min
- 2The mysql CLI and First Commands25 min
- 3Creating Databases and Tables30 min
- 4Data Types30 min
- 5SELECT and WHERE30 min
- 6Joins35 min
- 7Aggregates and Grouping30 min
- 8Indexes30 min
- 9Transactions and Storage Engines35 min
- 10Stored Procedures and Triggers35 min
- 11EXPLAIN and Query Tuning35 min
- 12mysqldump and Restore25 min
- 13Capstone: Design an Ecommerce Schema50 min
