Implement your designed City Jail database using Oracle

Assignment Help Database Management System
Reference no: EM131983089

Database Design and Use Assignment -

Assignment Description: In this assignment you will use your normalized "City Jail" database you have created in your assignment one. You will form a group (2-3 students) and implement your designed City Jail database using Oracle SQL developer 12c. You will also perform different types of SQL queries on it to sharpen your SQL skills to implement and manage the database. Please submit your assignment using the attached template.

Assignment Tasks:

Group component -

Discuss within your group to find the best normalized "City Jail" database design to implement in Oracle database. Provide an Entity Relationship Diagram. You can re-use the E-R Diagram from assignment 1 and improve it based on your lecturer's feedback. The E-R Diagram should be created as a group.

Write down all the SQL statements require to construct the entire City Jail database. Execute all SQL queries in Oracle SQL developer 12c to implement the "City Jail" database in Oracle 12c. You can re-use the CREATE TABLE statements from assignment 1 from assignment 1 and improve it based on your lecturer's feedback. The CREATE TABLE statements should be created as a group.

Insert 5 different entries in each table. You can create fictitious data to create hose entries.

Create SQL statements to drop all the tables you have created as a group.

Individual component:

Execute the following queries individually and provide your answers in the attached template:

Group member One:

  • Add a column named Mail_flag to the CRIMINALS table. The column should be assigned a data type CHAR (1).
  • Set the Mail_flag column to 'N' for all criminals who don't have a street address recorded in the database.
  • Change the phone number for a criminal to 7225659032.
  • Remove a specific criminal from the database. Make sure you remove all the associated information relevant to that criminal.

Group member Two:

  • List the following information for all crimes that have a period greater than 14 days between the date charged and the hearing date: crime ID, classification, date changed, hearing date, and number of days between the date charged and the hearing date.
  • Produce a list showing each active police officer and his or her community assignment, indicated by the second letter of the precent code. Display the community description listed the following chart, based on the second letter of the precent code.

Second letter of precinct Code

Description

A

Shady Grove

B

Centre City

C

Bay Landing

  • Display the criminal name and probation start date for all criminals who have a probation period greater than two months. Also, display the date that's two months from the beginning the probation period, which will serve as a review date.

Group member Three (Ignore this section if you are a group of 2):

  • List all criminals along with crime status and appeal status (if applicable). The report need to include the criminal ID, name, crime classification, date change, appeal filling date, and appeal status. Show all criminals, regardless of whether they have filled an appeal.
  • List all criminals along with crime information. The reports need to include the criminal ID, name, crime classification, date charged, crime code, and fine amount. Include only crimes classified as "Other". Sort the list by criminal ID and date changed.
  • Create an alphabetic list of all criminals, including criminal ID, name, violent offender, status, parole status, and any known aliases.

Attachment:- Assignment File.rar

Reference no: EM131983089

Questions Cloud

Describe the difference between an inner join : Describe the difference between an INNER JOIN, a RIGHT JOIN, and a LEFT JOIN. Provide a business example where you would want to use each type of join.
What is the net present worth of automation system : What is the net present worth of this automation system.
How the issuer books are affected on the payment date : How many shares are outstanding? Indicate how the issuer's books are affected on the payment date?
Data classification and data handling : Assess the main policy elements governing data classification and data handling in organizations to ensure that data remain
Implement your designed City Jail database using Oracle : HS2021 Database Design and Use Assignment - Implement your designed City Jail database using Oracle SQL developer 12c
Analyze in the context of what you have learned : Consider a recent (2016, 2017 or 2018) security breach popular in the media. Analyze in the context of what you have learned thus far in this course.
Propose three ways that information employees receive : Effective organizations attract, develop, and retain skilled employees by helping them make progress toward their career goals.
Difference between systematic and unsystematic risk : what is the difference between systematic and unsystematic risk? which is more important to fund manger of equity fund?
Complexity on a data stream in parallel : Suggest a suitable architecture for this application and explain why.

Reviews

len1983089

5/15/2018 3:11:23 AM

NOTE: Group members may receive different marks, based on their individual component. Content of your report - Execute all the task mentioned in “Assignment Tasks” section and provide all the SQL statements in the Assignment 2 Template. Assignment Submission Guideline: You need to submit a softcopy on Blackboard. Only one submission per group is allowed. Students worked as a team and proper database designing guideline was followed to achieve requirements of the assignment. All constructed and executed queries should run and retrieve/amend information as instructed.

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

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