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

  Design an relational model

Choose 2 enterprises(businesses, corporations, companies, institutions) from one or more economic, organizational, institutional or industrial sector of interest to you. See the Appendix for suggestions and examples.

  Selecting opies of book titled the big magic

How many copies of the book titled „The big magic? are owned by the local library whose name is "Newtown" library?

  Explain the average length of stay per room type

What is the average length of stay per room type. What is the average number of visitor per room type. What is the base income per room (i.e., length of visit multiplied by the daily rate) during a specified period of time

  Draw the er diagram for the database described above

Consider a video game store. For each game, the database contains information about title, producing company name, designer(s) name(s), version of the game, type of the game and characters in the game

  Finding the most expensive product item in the shopping cart

Your program needs to be able to find the cheapest product item in the shopping cart. For it you may adopt the same strategy described in Subtask 2.2.

  Describe entity-relationship model

Describe the entity-relationship model. How are entities, relationships, and attributes represented in this model? What is a composite entity? Describe the approach to diagrams that uses a crow's foot.

  Perform large number of client-server requests into database

A small business with 100 computer workstations is installing a new local area network. All of the users perform the usual operations of e-mail. State your reasoning. Draw a floor plan for each If possible, show both floor plans on one page.

  Sketch diagram for data warehouse of shop by star schema

Assume that data warehouse for video game shop consists of th three dimensions: time, player, and game, and two measures number of games played and price paid per game. Sketch schema diagram for data warehouse using the star schema.

  Explaining emp table does not have assigned primary key

Developers have noticed that EMP table doesn't have an assigned primary key. EMP_ID column has been selected to be the primary key.

  Write sql statements to calculate average salary

Write SQL statements that do the following: Calculate the average salary for all employees. Calculate the maximum salaries for exempt and non-exempt employees.

  Baxter aviation database

ER diagram for the Baxter Aviation database

  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?

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