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

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

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