Skip to content

Normalize ShopDB to 3NF: split ProductInventory into Products, Wareho…#202

Open
DRDR92 wants to merge 1 commit into
mate-academy:mainfrom
DRDR92:main
Open

Normalize ShopDB to 3NF: split ProductInventory into Products, Wareho…#202
DRDR92 wants to merge 1 commit into
mate-academy:mainfrom
DRDR92:main

Conversation

@DRDR92

@DRDR92 DRDR92 commented Jul 19, 2026

Copy link
Copy Markdown

…uses, ProductInventory

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Summary

Your solution correctly normalizes the database from 1NF to 3NF. The original ProductInventory table has been properly decomposed into four tables (Countries, Warehouses, Products, and ProductInventory) with appropriate foreign key relationships that maintain referential integrity. All test data is correctly populated across the normalized schema, and the implementation fulfills all stated requirements. Well done on this database design!


✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨

Footnotes

  1. Rate AI review example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants