Article claims the following table is not in 1NF
Date: Wed, 22 Oct 2008 11:38:01 -0700 (PDT)
Message-ID: <c4b7b721-9c49-4cb7-bb08-2f2044d277ef_at_e17g2000hsg.googlegroups.com>
greetings
COMPANY_DATABASE ( Emp_id#, Last_name, First_name, Address, City, State, Position, Cust_id#, Cust_lastname, Cust_firstname, Cust_address, Cust_city, Ord_num, Ord_date, Prod_id, Cost )
2) My book claims that if table is not normalized, then primary key can’t be made out of just one attribute. But how can that ALWAYS be true, since even if a table has multi valued attributes or duplicative columns, we could still have an attribute ( ORDER_ID ) that would uniquely identify the row:
ORDER ( ORDER_ID, ITEM1, ITEM2, ITEM3 )
Now even though the above table has repeating columns ( ITEM1, ITEM2,
ITEM3 ), ORDER_NUM column would still be able to uniquely identify the
row!
Similarly, if ITEM column is multi valued, we could still have
ORDER_ID as unique key:
ORDER ( ORDER_ID, ITEM )
