City jail information director

Assignment Help Basic Computer Science
Reference no: EM131518295

The following memo was used to create an initial database design (E-R model) for the City Jail that indicates entities, attributes (columns), primary keys, and relationships. 

MEMO

To: Database Consultant

From: City Jail Information Director

Subject: Establishing a Crime-Tracking Database System

It was a pleasure meeting with you last week. I look forward to working with your company to create a much-needed crime-tracking system. As you requested, our project group has outlined the crime-tracking data needs we anticipate. Our goal is to simplify the process of tracking criminal activity and provide a more efficient mechanism for data analysis and reporting. Please review the data needs outlined below and contact me with any questions. Criminals: name, address, phone number, violent offender status (yes/no), probation status (yes/no), and aliases

Crimes: classification (felony, misdemeanor, other), date charged, appeal status (closed, can appeal, in appeal), hearing date, appeal cutoff date (always 60 days after the hearing date), arresting officers (can be more than one officer), crime codes (such as burglary, forgery, assault; hundreds of codes exist), amount of fine, court fee, amount paid, payment due date, and charge status (pending, guilty, not guilty) Sentencing: start date, end date, number of violations (such as not reporting to probation officer), and type of sentence ( jail period, house arrest, probation) Appeals: appeal filing date, appeal hearing date, status (pending, approved, and disapproved) Note: Each crime case can be appealed up to three times. Police officers: name, precinct, badge number, phone contact, status (active/inactive)

Additional notes:

  • A single crime can involve multiple crime charges, such as burglary and assault.
  • Criminals can be assigned multiple sentences. For example, a criminal might be required to serve a jail sentence followed by a period of probation.

Using the City Jail database from P:pgignaccomp214CityJail_8.sql 

Use a sql sub-query statement to answer the following:

1. List the name of each officer who has reported more than the average number of crimes officers have reported.

2. List the names of all criminals who have committed less than average number of crimes and aren't listed as violent offenders.

3. List appeal information for each appeal that has a less than average number of days between the filing and hearing dates.

4. List the names of probation officers who have had a less than average number of criminals assigned.

5. List each crime that has had the highest number of appeals recorded.

Reference no: EM131518295

Questions Cloud

Describe future trends in digital crime and terrorism : Describe future trends in digital crime and terrorism. Explain the procedures in the investigation of computer-related crime.
Risk assessment and project planning : Can you write a page to address how software engineers cope with risk assessment and project planning as they impact the operation of socio-technical systems.
Operation of socio-technical systems : Can someone write a one-page for me on the impact of human and organisational factors on the operation of socio-technical systems.
Discuss about the job-based pay with skill-based pay : Compare job-based pay with skill-based pay and provide an example of each. Determine which pay you would prefer. Support your decision.
City jail information director : The following memo was used to create an initial database design (E-R model) for the City Jail that indicates entities, attributes (columns), primary keys.
What is the effective interest rate on the libor loan : What is the effective interest rate on the LIBOR loan?
Calculate the net present value for both trucks : Your company needs to purchase a truck and has narrowed the selection to two pieces of equipment. The first truck costs $70,000 and has an hourly operation.
Analysis of the patient dietary intake : Provide the full analysis of the patient's dietary intake. Please include the macronutrients and at least 3-4 of each of the vitamins and minerals
Why did amy classify the shift leaders as exempt : Why did Amy classify the shift leaders as exempt? Are there any advantages to Jones Department Store to having the shift leaders classified as exempt?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Configure the hostname to be _router

When you are done with that, explain what else you might need to do when configuring a router and what could be done to make the process quicker.

  Write a sequence of statements that creates a new file

There are two text files, whose names are given by two String variables , file1 and file2. These text files have the same number of lines. Write a sequence of statements that creates a new file whose name consists concatenating the names of the tw..

  What is the difference in months

Which payment schedule will reach $20,000. Faster and what is the difference in months between the 2 different payment schedules.

  Write down the values of n m and f for a network

Now suppose that our network is simple (i.e., it contains no multiedges or selfedges). Show that the mean degree c of such a network is strictly less than six.

  Contrast social media and social networks

o Compare and contrast social media and social networks. o Correctly identify social media cites or social networks.

  Expropriation of foreign assets in china and cuba

You may compare these acts with the expropriation of foreign assets in China and Cuba after these nations experienced communist takeovers.

  Generalized statements relating to a group of people

Identify the rhetorical strategy in each of the following statements. 1. I did not say the meat was tough. I said I did not see the horse that is usually outside (W. C. Fields). _________________ 2. Have you stopped beating your wife? ____..

  Determines whether the boolean code is correct

Each switch should respond to a mouse-click on the switch. If the handle is down, flip it up. If the handle is up, flip it down. To track the current position of a handle, an invisible circle can be placed on the switch and used as a point of refe..

  Identify examples of how cultural values affect moral

Identify examples of how cultural values affect moral legitimacy and cyber ethics norms. How can cultural values, traditions, religion, the desire for higher economic status, or poor local law enforcement possibly affect the ability to regulate copyr..

  Find the alphabet size and select a constellation

Suppose that you are asked to design a 16.8-kb/s constellation for a wireless voiceband modem. The symbol rate is 2400 symbols/s and the SNR received is 28 dB.

  Design logic by drawing a flowchart and writing pseudocode

Examine the pseudocode that follows the introductory comments, then find and correct all the bugs. Correct all bugs in the file and be sure to clearly highlight the corrections.

  Write a simple program in which the value added three times

Write a simple program in which the value, $55, is added three times HCS12

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