Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask DBMS Expert


Home >> DBMS

The Assignment 2 - Specification

In this assignment, you are to design and implement The Best Home business database that you have modelled in the assignment-1 and a series of SQL queries to reflect the business logic of The Best Home.

Note: If your assignment-1 was incomplete to cover the application scenario of The Best Home or 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.

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 2010 for marking purpose.

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

• Your database needs to include enough sample data to support the required SQL 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 The Best Home. 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 marks to be deducted.

Query-1: List all the contact details of a particular customer to show:

• The customer's name

• The contact type e.g. email

• The contact details e.g. w.li@cqu.edu.au

Note: the customer's name is a parameter to enter when executing this query in Microsoft

Access. A customer could have more than one contact e.g. email, mobile and home phone.

Query-2: List all the rental properties that the asked prices (the price on the advertising) are the same as the rent prices (the price on the rent contract) to show:

• The property type

• The property address

• The asked price

• The actual rent price

Query-3: 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-4: 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-5: 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-6: 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-7: An owner wants to complain to a higher level officer about the management of his/her rental property. Find the supervisor of the property manager, who is currently looking after the property to show:

• The property type

• The property address

• The owner name

• The property manager's name

• The supervisor's name of the property manager

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

Query-8: List all property managers in descendent order of the number 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

Assume 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 (from the highest to the lowest offered price) 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

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

4. Implementation document

You are to write a short report to demonstrate that you have thought carefully about the issues that arise when implementing the database and the SQL queries. You need to address:

• How you populate data for multi-valued attributes to make sure that they are enough to support the required SQL queries. Concrete examples from the database are required to justify your statement.

• Whether it is necessary to implement the property address as a composite attribute for the required SQL queries. Concrete examples from the database are required to justify your statement.

This is database design and development subject. Assignment1 solution was given by professor, with the help of that try to do the given assignment and keep the screenshots of the output in the report in detail

1. A Microsoft Access database, which contains the required:

• Relations with sample data
• SQL queries
• The query report

2. The Implementation document detailed in a Word document (with screen shots).

Attachment:- Assignment 1-Sol.rar

DBMS, Programming

  • Category:- DBMS
  • Reference No.:- M91779850
  • Price:- $85

Guranteed 48 Hours Delivery, In Price:- $85

Have any Question?


Related Questions in DBMS

Answer the following question explain the difference

Answer the following Question : Explain the difference between a database management system (DBMS) and a database. Are Microsoft Access, SQL Server, and Oracle examples of databases or database management systems (DBMS)?

In sql database questions phase-1 in 100 words what steps

In SQL Database Questions: Phase-1 In 100 words, what steps can one take to avoid losing work? Which command is used to save changes to the database? What is the syntax for this command? Phase-2 In 100 words, explain the ...

Objectivethe objective of this lab is to be familiar with a

OBJECTIVE: The objective of this lab is to be familiar with a process in big data modeling. You're required to produce three big data models using the MS PowerPoint software. This tool is available on UMUC Virtual Deskto ...

Backgrounda new training organization called abc

Background A new training organization called ABC TechTraining is opening soon and they have approached you to help design their new database. They have just completed the refurbishment of the premises and are now lookin ...

Systems analysis project scenic routes operates a bus

Systems analysis project Scenic Routes operates a bus company that specializes in travelling on secondary roads, rather than Interstate highways. Their slogan is: "It Takes a Little Longer, But It's Scenic." The firm nee ...

Assignment -scenario setup a mock phase 3 clinical trial

Assignment - Scenario: Setup a Mock Phase 3 Clinical Trial for evaluating the efficacy of a Blood Pressure/Weight Loss/ or Muscle Strength Enhancement supplement. Assume that the testing takes place at a physician's offi ...

Quesiton 1 what is data-manipulation language dml there are

Quesiton: 1. What is Data-Manipulation Language (DML)? There are four types of access in DML, explain each one. 2. Assume we have a Library Database consists of the following relations: author(author_id, first_name, last ...

Instructionsfor decades relational databases remained

Instructions For decades, relational databases remained essentially unchanged; data was segmented into specific chunks for columns, slots, and repositories, also called structured data. However, in this Internet of Thing ...

The relation memberstudentid organizationid roleid stores

The relation Member(StudentId, OrganizationId, RoleId) stores the membership information of student joining organization. For example, ('S1', 'O2', 'R3') indicates that student with Id 'S1' joined the organization with i ...

Questionsuppose a prolog database exists that gives

Question: Suppose a Prolog database exists that gives information about states and capital cities. Some cities are big, others small. Some states are eastern, others are western. a. Write a query to find all the small ca ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As