Property & Property Damage Database Management Database Queries/Reports

After each question, construct the SQL statement that answers the question.  When specific attributes are not asked for, you may choose which attributes you wish to display.

  1. List all the information about the properties. 
  2. List information about damages including the street address.
  3. What were the different sources of damage (no duplicate reporting)?
  4. What was the total amount of damages assessed?
  5. What were the total damages for each property?
  6. List the damages sorted by location (where the damage was located not where the property was located).
  7. How many damages were reported?
  8. List the information about the properties whose zip codes start with 301.
  9. List the properties in Woodstock that were damaged.
  10. What properties were damaged (street address), what were the damages (description) and what was the amount of the damage?
  11. List the report information for inspectors Jones, Smith, White [use the IN keyword]. 
  12. Which inspector(s) reported total damage amounts >$30,000 for all properties they inspected?
  13. Which property (by address) had damages from flooding on the first floor?
  14. List all property street addresses and show the description of the damage for those that had damage.
  15. Create a View to show street address and city of properties that had damage to their floors (wet carpet or buckled floor).  Call the view FloorDamage.

Get Project Solution by contacting us

- via WhatsApp: +92-324-7042178

Comments

Popular posts from this blog

[SOLVED] Branch Coverage, Statement Coverage and Path Coverage | Java Unit Testing

HTML, PHP URL registration and lising program Internet Programming Spring 2016 Assignment #5