Database Normalization Exercise Guide
Database Normalization Exercise Guide
Orders
Id_orden Fecha Id_cliente Nom_cliente Estado Num_art nom_art cant Precio
2301 23/02/15 101 Martin Caracas 3786 Red 3 35.00
2301 23/02/15 101 Martin Caracas 4011 Racket 6 65,00
2301 23/02/15 101 Martin Caracas 9132 Paq-3 8 4.75
2302 25/02/15 107 Herman Choir 5794 Paq-6 4 5.00
2303 27/02/15 110 Pedro Maracay 4011 Racket 2 65,00
2303 27/02/15 110 Peter Maracay 3141 Foundation 2 10.00
The records are now organized into two tables that we will call
ORDERS and ARTICLES_ORDERS
Orders
Id_orden Fecha Id_cliente Nom_cliente Estado
2301 23/02/15 101 Martin Caracas
2302 25/02/15 107 Herman Chorus
2303 27/02/15 110 Pedro Maracay
Order Articles
Id_orden Num_art nom_art cant Price
2301 3786 Red 3 35.00
2301 4011 Racket 6 65.00
2301 9132 Paq-3 8 4.75
2302 5794 Paq-6 4 5.00
2303 4011 Racket 2 65.00
2303 3141 Fund 2 10.00
1
DATABASE I Database Normalization Exercise Guide
Now we will proceed to apply the second normal form, that is, we have
to eliminate any non-key column that does not depend on the key
primary of the table.
Order Articles
Id_orden Num_art cant
2301 3786 3
2301 4011 6
2301 9132 8
2302 5794 4
2303 4011 2
2303 3141 2
Articles
Num_art nom_art Precio
3786 Red 35.00
4011 Racket 65.00
9132 Paq-3 4.75
5794 Paq-6 5.00
3141 Fund 10.00
2
DATABASE I Database Normalization Exercise Guide
Upon observing the tables we have created, we realize that both the
Table ARTICLES, like the table ARTICLES_ORDERS, is in 3NF.
However, the ORDERS table is not, as CLIENT_NAME and STATUS are
dependent on CLIENT_ID, and this column is not the primary key.
To normalize this table, we will move the non-key columns and the column
key on which they depend within a new CLIENTS table. The new
The CLIENTS and ORDERS tables are shown below.
Orders
Id_orden Fecha Id_cliente
2301 23/02/15 101
2302 25/02/15 107
2303 27/02/15 110
Clients
Id_cliente Nom_cliente Estado
101 Martin Caracas
107 Herman Chorus
110 Peter Maracay
3
DATABASE I Database Normalization Exercise Guide
2. INVOICE OF PURCHASE SALE: The company COLOMBIAN SYSTEMS has hired you as the
"In-Charge Engineer" to systematize billing. In the following INVOICE
FOR BUYING AND SELLING, you must analyze all the available information and apply
the normalization process, up to reaching the Third Normal Form.
Where:
A cassette can come in various formats and a movie is recorded in a single one.
cassettes; movies are often requested according to an actor
specific Tom Cruise and Demi Moore are the most popular, this is why it should be
to keep information about the actors belonging to each movie.
In the store, information is maintained only about the actors that appear in the
movies and that is available. Videos are only rented to those who
they belong to the video club. To belong to the club, one must have a good
credit. For each club member, a record is kept with their name,
phone and address, each club member is assigned a number of
membership. Information about all the tapes that a customer wants to be maintained
rental, when a customer rents a cassette, the name of the should be known
movie, the date it is rented and the return date.
Where:
It is requested to apply the normalization rules and obtain its relational model.
indicate your keys, main attributes.
Subject/ Date
Colegio Profesor Class Course Book Editorial
skill loan
Learn and
C.P Juan Thought 1st teach in
1.A01 Grao 09/09/2015
Cervantes Pérez Logical Grado educación
infantile
C.P Juan 1st Preschool Techniques
Writing 1.A01 05/05/2015
Cervantes Pérez Rubio Grade, N56 Rubio
Learn and
C.P John Thought 1st Teach in
1.A01 Grao 05/05/2015
Cervantes Pérez Numeric Degree in Education
infantile
Thought
Education
C.P Alicia Spatial, 1st Prentice
1.B01 Childish 06/05/2015
Cervantes García Temporal and Grado Hall
N9
causal
Learn and
C.P. Alicia Thinking 1st teach in
1.B01 Graó 06/05/2015
Cervantes García Numeric Education degree
childish
Learn and
C.P Andres to teach in
Writing 1.A01 Graó 09/09/2015
Cervantes Fernández Education degree
infantile
C.P Andrés 2do Saber Topics of
English 1.A01 05/05/2015
Cervantes Fernández Education degree: Today
6
DATABASE I Database Normalization Exercise Guide
guide for
Parents and
Teachers
to know
to educate
C.P Juan Thought 1st Themes of
2.B01 guide for 18/12/2015
Quevedo Méndez Logical Degree Parents and
Today
Teachers
Learn and
C.P Juan Thought 1st teach in
2.B01 Graó 06/05/2015
Quevedo Méndez Numeric Degree in education
childish
Name Code
Code/ Special Nombre_curs Nombre/
/ / Workshop course
student dad o teacher
student course
Luis
Industry Mathematics Carlos
382145A Zuloag MA123 CB-214 U
l 2 Arambulo
a
Luis
Industry Physics Petra
382145A Zuloag QU514 CB-110 U
l Chemistry Rondinel
a
Luis
Industry Victor
382145A Zuloag AU521 Descriptive CB-120 W
l Moncada
a
Raúl Cesar Investigation
360247k PA714 Systems SC-220 V
Rojas on 1 Fernandez
Raúl Mathematics Carlos
360247k Systems MA123 CB-214 V
Rojas 2 Arambulo
Raúl Victor
360247k AU511 Systems Drawing CB-120 U
Rojas Moncada
7
DATABASE I Database Normalization Exercise Guide