Like separating "groceries: milk, eggs, bread" — one item per line, not comma-separated.
1NF rule: each cell holds one value (atomic). "Pen, Notebook" in one cell violates 1NF. Split into a separate table with one row per item.
> Before: orders.products = "Pen, Notebook" ❌ > After: order_items rows: > (order_id=1, product_id=10, qty=1) > (order_id=1, product_id=11, qty=2)
Like separating "groceries: milk, eggs, bread" — one item per line, not comma-separated.
1NF rule: each cell holds one value (atomic). "Pen, Notebook" in one cell violates 1NF. Split into a separate table with one row per item.
> Before: orders.products = "Pen, Notebook" ❌ > After: order_items rows: > (order_id=1, product_id=10, qty=1) > (order_id=1, product_id=11, qty=2)
Sign in to cast your vote
Sign in to share your feedback and join the discussion.