Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Queries with Restrictions Assessment This database contains data about crimes reported in the city of Chicago during 2 0 1 8 . 1 . 1

Queries with Restrictions Assessment
This database contains data about crimes reported in the city of Chicago during 2018.
1.1What are the details of the community area named "O'Hare"?
Show the community area number, side, and population.
Remember that to refer to column value in the WHERE clause that includes an apostrophe (') you must either use double quotes around it ("O'Hare") or put a backslash in front of the apostrophe ('O\'Hare').
10
1.2What is the contact information for district #17?
Show the district name, fax, and address.
10
1.3List the crimes reported to have occurred on blocks ending in "N LEGETT AVE".
Show the date, block, report number, ward number, and community area number.
Sort the results by date then by block then by report number.
10
1.4In Chicago, crimes are classified using Illinois Uniform Crime Reporting (IUCR) standards. List the IUCR secondary descriptions with a primary description of "LIQUOR LAW VIOLATION".
Show an alphabetical list of secondary descriptions.
10
1.5List the crimes reported with an IUCR NUMBER of "110" that occurred in ward NUMBER 37 where no arrest has been made.
Show the date, case number, FBI code, and district number.
Sort the results by date then by case number.
10
1.6List the crimes reported in district #20 where no location description has been reported.
Show the date, case number, community area number, and district number.
Sort the results by date then by case number.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Graph Databases New Opportunities For Connected Data

Authors: Ian Robinson, Jim Webber, Emil Eifrem

2nd Edition

1491930896, 978-1491930892

Students also viewed these Databases questions

Question

Purchases of goods for resale - why and cite examples

Answered: 1 week ago