Professional Documents
Culture Documents
Wxes2103 Revision 1: Studid Studname Major Gradhours Courseid Coursename Credithour Grade
Wxes2103 Revision 1: Studid Studname Major Gradhours Courseid Coursename Credithour Grade
REVISION 1
1. Using information below, create the ER model below to accommodate the following
additional requirements:
“You know, we really need to keep a history of all our rentals. Each time a customer
rents a tape, we would like to keep the rental date/time and the return date/time. All our
tapes are due back the next day, so we don’t need to keep a due date. Keeping this rental
history will allow us to analyze the pattern of our rentals. We will be able to determine
how many tapes each customer rents and how many times a customer has returned a tape
late. We will also know how many times a particular tape has been used and will then
know when to retire each tape. We will also be able to analyze our customers’ movie
preferences.”
a. Explain why this table is not in 2NF? Illustrate your explanations by using appropriate
examples from the table.
[2 marks]
b. Normalize the table into 2NF. Show your answer in schema format ie.
TABLENAME(key, attibute….)
[3 marks]
c. What is the condition for a table to be in 3NF? Normalize the table into 3NF. Explain your
normalization process using appropriate examples from the table. Show your answer in
schema format ie. TABLENAME(key, attibute….)
[5 marks]