Implement a series of queries on the database

Assignment Help Database Management System
Reference no: EM13336158

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 2
  • 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.

 

Reference no: EM13336158

Questions Cloud

What is the focal length of your magnifying glass : By holding a magnifying glass 35cm from your desk lamp, you can focus an image of the lamp's bulb on a wall 1.8m from the lamp
What is the inductance of the solenoid : Hyperthermia is one of the modalities for cancer treatment. In the procedure, the magnetic nanoparticles are injected at the tumor site which is then exposed to radio frequency electromagnetic waves. what is the inductance of the solenoid
Schedule of cost of goods manufactured : The Zoe Corporation has the following information for the month of March. Prepare a (a) schedule of cost of goods manufactured, (b) an income statement for the month ended March 31, and (c) prepare only the inventory section of the balance shee..
What is the potential difference between two pilons : A transmission line 200 km long has a resistance of 10 ? and carries a current of 1200 A. What is the potential difference between two pilons separated by 200 m
Implement a series of queries on the database : 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.
Explain how many grams of ammonia are in the flask : A 3.00- flask is filled with gaseous ammonia, . The gas pressure measured at 20.0 is 2.15 . Assuming ideal gas behavior, how many grams of ammonia are in the flask
Find the focal length of a concave mirror : Find the focal length of a concave mirror if an object 12cm from the mirror has a virtual image 2.1 times the object's actual size
What frequency does the driver detect : A driver travels northbound on a highway at a speed of 22.0 m/s. What frequency does the driver detect after the police car passes him
Explain the molecules obeys the octet rule : Bh3 No3 O3 PCl5 SF6 How many of the molecules have no dipole moment. Which of the molecules obeys the octet rule

Reviews

Write a Review

Database Management System Questions & Answers

  Write query to perform inner join of grade and student

Write a query that performs an inner join of the grade, student, and grade_type tables using ANSI SQL 99 syntax (JOIN ON).

  Compose conceptual data modeling techniques

Prepare database design documents using the data definition, data manipulation, and data control language components of the SQL language.

  Write down advantage in storing metadata in tables

What is meant by a Metadata? How does this term pertain to a database? Write down advantage is there in storing metadata in tables?

  Prepare a set of non-functional requirements

Need a system that networks its 3 campuses in the US and one campus in Singapore. Transaction data for all campuses should be available to all locations. In addition, students should be able to use the Internet to view classes, enroll, register, and ..

  Create query that spans both tables

Create a query that spans both tables. Eliminate redundant fields. Modify the Query to select only those Customers that had service dates in October and November 2006.

  Build entity relationship model military information system

Build an entity relationship model for the above scenario. Show all attributes and indicate all of your key attributes in red.

  Build the prototype as a distributed system

You should document a UML design for the proposed system. This should include a description of: architecture, requirements and functionality, detailed system design.

  Print to screen the ''below average''

Print to screen the 'below average' if minimum unit_cost is 10 for the same product (use sh.costs table)

  Explain the benefits and current trends of data warehousing

Create a diagram using Visio, Microsoft Paint, or other graphical creation utility of your choosing to illustrate the conceptual data feeds into and out of the data warehouse. Note: The graphically depicted solution is not included in the required..

  Developing a database

You have been asked to develop a database utilizing only the written problem description given by the client. In reviewing the description.

  Draw dependency diagram after identifying all dependencies

Draw the dependency diagram after identifying all dependencies in this data structure. See Lecture 6, Slide 27 for dependency diagram and convert this data structure to a set of 3NF relations. Clearly showing each step

  Advantages of database approach over file-system approach

How and why did database management systems become the organizational data management standard? Describe some advantages of database approach over file-system approach.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd