CP 121: Introduction To Database Systems Project Assignment (10 Marks) in Group of 10 Students Work On This Project, Duration 3 Weeks
CP 121: Introduction To Database Systems Project Assignment (10 Marks) in Group of 10 Students Work On This Project, Duration 3 Weeks
The term renter refers to a private person or a business who signed a rental agreement for a
property. Each such rental agreement is identified in our database by a unique rental number. We
record the date of the singing of the rental agreement, the starting and ending date of the rental
agreement. A renter can rent many properties. A renter, prior to accepting the rental agreement
may view the property repeatedly and we record the date of viewing. For each renter, we record
its address, its name, its email address and phone numbers. Each renter has a unique renter
number in our database.
Our agency is organized into branches and every staff member is allocated to exactly one branch.
Each branch has one manager who is a member of the staff. In our database, we identify the staff
by a unique staff number. For each staff member we record address, name, email address, phone
numbers, sex, position, and salary. Each property is in care of one of our branches. Each renter
refers to the branch that is in care of the property it rents. Each property is overseen by a unique
staff member. Each branch has an address, phone number, and a unique branch number.
Questions
a) Use the E-R Model to model the above scenario with E-R Diagram. State any
assumptions necessary to support your design
b) From the ERD in a) draw the corresponding logical schemas. Carefully observe both
Entity and Referential integrity constrains
c) From the logical schemas in b) choose at least three schemas and tabulate their
corresponding Data dictionaries. Carefully observe domain constrain on each attribute.
You may also suggest any general constrain that may apply on each attribute or relation
d) Create the corresponding Physical schema for the logical schema in b). With reference to
the types of values suggested in c) fill the physical schema with data. Use SQL Server as
your RDBMS
e) Be able to apply SQL- Data Manipulation Language (DML), the competence will be
evaluated during presentation session