For each incident, what is the first arriving company

Assignment Help Software Engineering
Reference no: EM13952592

The following tables represent some of the data which the Fire Department tracks for reporting on emergency incidents.

INC - Incident table (Gives information about an emergency incident.)

INC_IDY (Unique incident number) SIT* (Situation Type) ADATE (Alarm Date) ATIME (Alarm Time) FIRST_DUE_STN# (The station district in which the incident occurred)
9000188 TAT 1/3/2009 14:20:22 ST05
9000770 TA 1/11/2009 17:25:31 ST02
9002128 MED 1/30/2009 8:39:15 ST11
9002322 SFIR 2/1/2009 15:55:25 ST01
9002516 MED 2/3/2009 13:19:16 ST08

* TA = Traffic accident, TAT = Traffic accident, person trapped, MED = Medical emergency, and SFIR = Structure fire.
# ST01 = Fire station 1, ST02 = Fire station 2, etc.

CMP_INC_RSP - Company response table (Gives information as to the units dispatched to an incident.)

INC_IDY (Unique incident number) CMP_IDY$ (Unit dispatched) DSP_TME (Time unit dispatched) RSP_TME (Time unit responded) ARR_TME (Time unit arrived) INS_TME (Time unit is available for another assignment)
9000188 E3 14:20:43 14:22:06 14:23:19 14:28:39
9000188 T1 14:20:43 14:22:38 14:24:54
9000770 E2 17:25:49 17:26:47 17:28:03 18:10:16
9000770 T8 17:25:49 17:26:55 17:30:25 18:08:24
9002128 E11 8:39:38 8:40:35 8:43:07 8:53:08
9002322 E1 15:56:56 15:57:09 15:59:04 16:05:48
9002322 E2 15:56:56 15:57:25 16:00:04 16:06:30
9002322 T1 15:56:56 15:57:15 15:59:49 16:01:21
9002516 E8 13:19:31 13:19:40 13:19:42 13:37:50

$ E1 = Engine at station 1, T1 = Truck at station 1, E2 = Engine at station 2, etc.

Using the table and column data given above as a guide, provide SQL queries that you would execute against the full data set - approximately 50,000 incidents per year - for the following questions:

a) To how many traffic accidents did the Fire Department send two or more companies in 2009?

b) For each incident, what is the first arriving company?

c) What is the delay between the time the alarm was received and the time each unit arrived at the scene?

d) How many times has each unit responded to incidents outside of their primary running district? (The FIRST_DUE_STN in the INC table indicates in which station's primary running district the incident occurred.)

Reference no: EM13952592

Questions Cloud

The relationship between public opinion : The relationship between public opinion and political participation raises many questions associated with how the public thinks, why they behave in the manner they do, and what outcomes in the form of ideological expressions will probably take pla..
Distribute leaflets to potential union members : Union organizers at a hospital wanted to distribute leaflets to potential union members, but hospital rules prohibited leafletting in areas of patient care, hallways, cafeterias, and any areas open to the public.
What techniques can they use to improve the writing process : Sometimes they allow perfectionism to get in the way, while other times students are not strong writers. What is in their head does not translate to the paper. In what ways can you find a solution to people struggling? What kind of techniques can ..
Compile a list of problems : Compile a list of problems that you encounter with products in each of the categories listed below. For each, give your assessment of the frequency with which those problems occur and the degree to which each problem is bothersome. Compare your asses..
For each incident, what is the first arriving company : For each incident, what is the first arriving company?
Find f1, volume of fluid flowing into pipe per unit of time : Find F1, the volume of fluid flowing into the pipe per unit of time. This quantity is also known as the volumetric flow rate. Express the volumetric flow rate in terms of any of the quantities given in the problem introduction.
Determine the required constant tension : Determine the required constant tension TB if the speed of the tape is increased by 4 m/s in 0.3 seconds and the corresponding tension in the portion of the tape between the drums.
Compares and contrasts the 4 types of software testing. : What affect do application servers have on the traditional SDLC? What affect does server virtualization have on application servers?
Appropriate employee name : Miami Drug employees has the necessary information and does not know whose name belongs on the notice of deposition. Should Sally file interrogatories to obtain the appropriate employee's name? Why or why not?

Reviews

Write a Review

Software Engineering Questions & Answers

  Analyze the major disadvantages and possible hazards

Analyze the major disadvantages and possible hazards that an organization should consider before adopting SSDs.

  Explain flow boundaries map

Explain flow boundaries map the dfd into a software architecture using transform mapping.

  Which is not a factor to consider in software evaluation

Which is not a factor to consider in software evaluation and peer reviewers are the key participants in which activity - Peer reviewers are the key participants in which activity?

  Flowchart for physical goods are shipped back to supplier

Sketch a document flowchart to depict each situations: Physical goods are shipped back to the supplier.

  Explian test plan or script

Testing process summary: Define a test plan or script that identifies major software functionality and hardware to be tested with the required outcomes

  User interface design the user interface provides

user interface design the user interface provides interaction between the user and the application. choose one of the

  Part 1 theory and business1identify computing devices which

part 1 theory and business1.identify computing devices which could be used to support your improved process.2.identify

  Pushdown automaton

A useless state in a pushdown automaton is never entered on any input string. Think about the problem of testing whether a pushdown automaton has any useless states.

  Explain use of er-assistant to depict conceptual model

Create your conceptual model, logical model, and few examples of what physical model would look like. Hint: You can use ER-Assistant to depict conceptual model and MS Access to depict logical model.

  Use of sdlc and agile development approaches

Compare the use of SDLC and agile development approaches. Justify your choice of your selected approach to systems development.

  Java examples to validate input

Create an algorithm that prompts the user to enter a secret word. The secret word should be at least eight characters long. Validate the input.

  Measurement scales characterizes the software measures

What kind of measurement scales characterizes the following software measures - Number of lines of code of software

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