The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Jul 2017 |
| Last Sign in: | 304 Weeks Ago, 6 Days Ago |
| Questions Answered: | 15833 |
| Tutorials Posted: | 15827 |
MBA,PHD, Juris Doctor
Strayer,Devery,Harvard University
Mar-1995 - Mar-2002
Manager Planning
WalMart
Mar-2001 - Feb-2009
Need some help with questions 10, 12, 14, and 15. I only need the SQL queries to answer the questions. Any help would be greatly appreciated.
SQL CommandsÂ
After each question, construct the SQL statement that answers the question.
Â
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.
Â
Data Tables for IS3280 Test 2-Part 2{This data is fictitious.}
PROPERTY

DAMAGE

DAMAGEREPORT

----------- Â ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly