You are to design and implement the database of best home


The Assignment-2 Specification

In this assignment,

you are to design and implement the database of Best Home real estate that you have modelled in assignment-1 and a series of SQL queries to reflect the business logic of it. Note: If your assignment-1 was incomplete to cover the application scenario or was incorrect in some parts, you will need to remodel it before completing this assignment. Read the marking comments of assignment-1 carefully and talk to your marker if necessary. Doing so would minimise losing marks for this assignment. 

The specification of this assignment

1. Database implementation

• You are to design and implement the ER model of assignment-1, including entities/associative entities, relationships and cardinalities, into a Microsoft Access Database. You need to make sure that your database is compatible with MS Access 2007 for marking purpose.

• You need to ensure that relations of your database meet 3NF.

• Your database needs to include sample data to support the required queries.

2. SQL query As a way to demonstrate success,

you are to implement a series of queries on the database to reflect the business logic of Best Home real estate.

Query-1: List all the rental properties that the asked prices are the same as the rent prices to show:

• The property type

• The property address

• The asked price

• The actual rent price

Query-2: List all the sale properties that have been available for 6 months but not sold yet to show:

• The property type

• The property address

• The property sale price

• The property available date

• The property manager’s name

 

Query-3: List the properties that were sold in a particular suburb e.g. ‘The range’ to show:

• The buyer name

• The property manager who sold the property

• The property type

• The property address

• The asked price

• The deal price

• The date

when the property was sold Note: the suburb name can be hardcoded in your query.

Query-4: List the contact details of the solicitor who involved in a sold property of a particular address, e.g. ’22 George Street’ to show:

• The property type

• The property address

• Solicitor name

• All contact details of the solicitor

Note: the property address can be hardcoded in your query.

Query-5: List all rent properties which have 2 or more applications to show:

• The property ID

• The property type

• The property address

• The weekly rent

• The property manager’s name

 

Query-6: An owner wants to complain to a higher level officer about the management of his/her rent property. Find the supervisor of the property manager, who is currently looking after the property to show:

• The property type

• The property address 3

• The owner name

• The property manager’s name

• The supervisor’s name of the property manager

 

Query-7: List all property managers in descendent order of the numbers of properties that they have been looking after to show:

• The property type

• The property address

• The property status

• The property manager’s name

3. Query Report Suppose that a property manager will contact the owner of a sale property to talk about the current offers for the property.

Create a report to sort the offers in descending order to show:

• The property type

• The property address

• The property sale prices

• The offered price

• The name and his/her contact details of the customer who gave the offer

• The name and his/her contact details of the owner of the property Note: You are to create the queries manually by using the SQL view of MS Access query builder to demonstrate your competency in SQL. Failing to do so may result in losing marks.

4. Implementation document

You are to write a short report to demonstrate that you have thought carefully about the issues that arise when implementing a relational database. You may address:

• The multiple implementation choices, such as the data type and size selection for a particular attribute or the cardinality of a relationship etc and justify your selection

• The major issues that you have encountered for the database implementation

• The major issues that you have encountered for creating queries/reports

To submit your assignment, you need to provide: 1. A Microsoft Access database, which contains the required: • Relations with sample data • Queries • The query report 2. The Implementation document detailed in a Word document You must submit all the required files in a zip file into the course Moodle site. The marking criteria of this assignment are detailed in the following table. Marking Criteria Available Marks Database implementation 1. Coverage of the business data structures of Best Home 2 2. Enough sample data are populated for the required queries 2 3. Naming of relations is clear; use of data types is correct 2 SQL query Query-1 2 Query-2 2 Query-3 3 Query-4 3 Query-5 3 Query-6 3 Query-7 3 The query report 1. The underlying query/queries for the report is correct 2 2. The report layout is appropriate 2 The implementation document 1. Multiple implementation choices and selection 2 2. The major issues with the database implementation 2 5 3. The major issues with queries/reports creations 2


Attachment:- Assignment1ReferenceSolutionStudent (1).pdf

Solution Preview :

Prepared by a verified Expert
Database Management System: You are to design and implement the database of best home
Reference No:- TGS01118826

Now Priced at $60 (50% Discount)

Recommended (94%)

Rated (4.6/5)