Assessment Section
Queries with Restrictions Assessment
This database contains data about crimes reported in the city of Chicago during
What 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 OHare or put a backslash in front of the apostrophe OHare
What is the contact information for district #
Show the district name, fax, and phone.
List the crimes reported to have occurred on blocks ending in W MONTROSE DR
Show the date, block, report number, beat, and ward number.
Sort the results by block then by date then by report number.
In Chicago, crimes are classified using Illinois Uniform Crime Reporting IUCR standards. List the IUCR secondary descriptions with a primary description of "INTERFERENCE WITH PUBLIC OFFICER".
Show an alphabetical list of secondary descriptions.
List the crimes reported with an IUCR NUMBER of that occurred in ward NUMBER where an arrest has been made.
Show the date, case number, beat, and ward number.
Sort the results by case number then by date.
List the crimes reported in district # where no location description has been reported.
Show the date, case number, block, and community area number.
Sort the results by date then by case number.
List the crimes reported in district # with an IUCR number of along with those reported in ward # with an FBI code number of
Show the case number, FBI code number, ward number, IUCR number, district number, date, and block.
Sort the results by IUCR number then by district number then by FBI code number then by ward number then by case number.
List the crimes reported between latitudes and inclusive that have a location description of "STREET".
Show the date, case number, community area number, and block.
Sort the results by date then by case number.
Which wards had at least one crime with an IUCR number of BATTERY reported at a location with a description of "ALLEY"?
Show only the ward number in ascending order.
Be sure your result does not include any duplicates.
List the location descriptions where crimes with an IUCR number of DECEPTIVE PRACTICE have occurred in ward #
Show only the locationdescription in alphabetical order.
Be sure your result does not include any duplicates.