Methods:
Part 1 - County Attribute Queries of the US
I found data from the USA geodatabase from my textbook cited below and set my geoprocessing workspace and scratch space to appropriate folders first for each map.
Map 1: For this map I was asked to write a multiple criteria query that will return counties with population between 3000
and 4000 people in 2010 and also all counties in 2010 that had a population density of at
least 1000 persons per square mile. In order to do this made a new map document, and imported my counties shapefile from my geodatabase. I then opened the select by attributes window from the selection drop-down menu and used the following SQL expression:
This returned a selection of counties meeting the criteria. I right clicked on the counties layer in the table of contents, then clicked selection, create new layer from selection. This layer I named "Counties Meeting Criteria". gave a contrasting color by clicking the color box under the layer label. I then found a scale for the map that looked good in layout view and used the Insert drop-down menu to create a title, legend, my name, a north arrow, and a scale bar, then used the layout view to Place and size everything in a neat fashion. In order to answer statistical questions about the states queried I chose the statistics option after right clicking on the intended heading in the attribute table.
Map 2: For this map I was asked to write a multiple criteria query that will return records for counties in Wisconsin, Texas, New York, Minnesota, and California where male population is greater than female population and also the number of seniors (age 65 and above) is over 6500. After clearing my previous selection, I used this query in the select by attributes window:

I was then asked how many counties met this criteria, which I answered using the selection count in the list by selection view of the table of contents. Other questions I was able to answer using visual inspection of the attribute window. In order to map these selected counties I right clicked on the counties layer and created another layer from the selection, now renaming the selection from my first map selection 1, and naming my new layer "Counties Meeting Criteria". I then mapped these counties using the same techniques as in making map 1.
Map 3: For map 3 I was required to build a query to add more states to the the last selection and also not include counties where there were less than 30,000 housing units. I used the following query:
(STATE_NAME = 'Wisconsin' OR STATE_NAME = 'Texas' OR STATE_NAME = 'New York' OR STATE_NAME = 'Minnesota' OR STATE_NAME = 'California' OR STATE_NAME = 'Washington' OR STATE_NAME = 'Maryland' OR STATE_NAME = 'Illinois' OR STATE_NAME = 'Nebraska' OR STATE_NAME = 'District of Columbia' OR STATE_NAME = 'Michigan') AND HSE_UNITS > 30000 AND AGE_65_UP > 6500 AND MALES > FEMALESI then created a map of these counties manipulating layer names and creating a pleasing map with the same steps as map 1 and 2.
Part 2 - Mixed Queries of Wisconsin
Map 4: For this map I downloaded data supplied by my professor which included Wisconsin specific data of rivers, roads, counties, lakes, and cities. I was asked to develop a query that will return cities in Wisconsin with 2007 population between 15,000 and 20,000 people, an area of the city being at least 5 square miles in land area, a female population that is greater than males, and also the cities had to be within 2 miles of a lake. For this task I started with an attribute query of the cities layer:

After this query selected these specific cities which met all criteria except that of being within 2 miles of a lake, I got to the spatial query to find the cities close to lakes. I clicked on selection, then select by location, then clicked on select from the currently selected features in in the selection method, targeting the cities layer, then setting all other settings as seen below:
The resulting selection I made a new layer from and created a pleasing map with the same tools used in above maps. I answered questions about statistics by using the statistics function after right clicking on the population field in the attribute table while having the cities selected.
Map 5: For this map I was required to select all segments of the rivers mentioned: CHIPPEWA R, EAU CLAIRE R, 'EMBARRASS R, FISHER R, HUNTING R,
KINNICKINNIC R, MAUNESHA R, MILWAUKEE R, MOOSE R, NAMEKAGON R,
PELICAN R, PLATTE R, and POTATO R. For this selection I used the following attribute query:
This returned a selection of 80 segments of the named rivers, which I found the total length of all added by finding the sum in the statistics of the length field in the attribute table. I then changed the symbology of these selected rivers after making them a different layer and deleted the original rivers layer to remove clutter. Then I added roads, lakes, and county shapefiles and changed the symbology for them too in order to make a better looking map. I added other features to the map similar to the maps above, and changed the layout to portrait in order to make a pleasing map."PNAME" = 'CHIPPEWA R' OR "PNAME" = 'EAU CLAIRE R' OR "PNAME" = 'EMBARRASS R' OR "PNAME" = 'FISHER R' OR "PNAME" = 'HUNTING R' OR "PNAME" = 'KINNICKINNIC R' OR "PNAME" = 'MAUNESHA R' OR "PNAME" = 'MILWAUKEE R' OR "PNAME" = 'MOOSE R' OR "PNAME" = 'NAMEKAGON R' OR "PNAME" = 'PELICAN R' OR "PNAME" = 'PLATTE R' OR "PNAME" = 'POTATO R'
Results: These are the resulting maps of my work.
| Map 1 |
| Map 2 |
| Map 3 |
| Map 4 |
| Map 5 |
