The objective of this assignment is to reinforce what you have learned in the lectures and tute/ lab
sessions. Specifically, it covers the advanced concepts in the relational database design, using SQL for
querying a relational database and analyse different database models for different applications.
This assessment will measure your ability to:
Appreciate a good database design
Apply good database design guidelines, such as normalisation, to build a well-designed database
Write efficient SQL statements for retrieving data for specific user requirements
Analyse different database models for different applications
Write a technical report suitable for a non-technical audience, presenting your findings and
Part A: Relational Database Design (30 Marks)
Consider the following ER diagram, which shows aspects of the business of a real estate agency. As a
part of the Assignment 1 activities, we have learned how to map entities and relationships in a E-R
model into a relational database schema. We have used the 7-step mapping process.
As a result of incorrect application of 7-step mapping process, it was mapped into following relations.
Branch(BranchNo, B_Street, B_Suburb, B_Postcode, Staff_No*, Start_Date, Monthly_Bonus,
Telephone1, Telephone2, Telephone3, S_Name*)
Staff(StaffNo, S_Name, S_Address, Position, Salary,Branch_No*, Supervisor_No)
Property(PropNo, P_Street, P_Suburb, P_Postcode, Type, NoOfRooms, WeeklyRent, AvailableForRent,
AdOnOtherWebsites, Staff_No*, S_Name*)
1. For each of these relations, write down all functional dependencies. If there are no functional
dependencies among attributes, you must state so. Do not write down trivial functional dependencies,
such as Email Email.
2. Write down the highest normal form each of these relations are in. For each of these relations, state the
reasons why it doesn’t meet the next normal form requirements. This is not required if the relation is in
3. If they are not in 3NF, decompose them into 3NF relations. Write down the full database schema at the
end of this step, eliminating decomposed relations and replacing them with newly created relations.
4. Where possible, combine the relations resulting from Part 3. Write down the full database schema at
the end of this step, eliminating combined relations and replacing them with newly created relations.
5. Write down the final relational database schema.
本网站支持淘宝 支付宝 微信支付 paypal等等交易。如果不放心可以用淘宝交易！
E-mail: email@example.com 微信:itcsdx