Escolar Documentos
Profissional Documentos
Cultura Documentos
A Normalized Relational
Database Solution
All of the previously identified problems (wasted
storage space, high data maintenance, and
inflexible storage structure) can be eliminated with a
normalized relational database design
As is often the case, normalization of the database
is achieved by separating the data into tables
In this case we take the orders file and the customer
and parts files (which were not discussed), move
some columns around, and make them 'tables'
We also create a fourth table, called order_details,
to implement the many-to-many relationship
between parts and orders
A Normalized Relational
Database Solution
A Normalized Relational
Database Solution
There is no wasted storage space in this
design; every column/row intersection has a value
associated with it
There is no redundant data; customer name and
part description are entered in only one place and
referenced in other places by their associated 'keys'
or identifiers (cust_id and part_id)
Data maintenance is simplified because now if I
want to change a customer name, I do so in one
place (the customers table) and the change
propagates throughout the entire database (Note in
some cases, such as with historical data, this may
not be what we want, but, because of limited space,
we don't address that issue here)