Problem Description

Given a table OrdersRaw(order_id, items, quantities) where items are stored like '10|12|14' and quantities '1|2|1', explain why it breaks 1NF in description and give normalized tables in SQL.

Input Format

SQL DDL

Output Format

DDL statement(s)

Sample Test Case

Input:
OrdersRaw
Output:
Normalized design

Constraints

Split multivalued fields

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next