Query

Use Query from the Right Pane to locate features with specific fields using SQL Structured Query Language A standard computer language for accessing and manipulating databases. queries Criteria for selecting features or layers on a map using the SQL language.. You can search for features from several fields in one layer.

A query is a way to search data from a database table The database location for data from a single layer. Each column in the table represents specific data (called "fields") for that layer. The rows (called "records") represent individual features (instances) of items in the layer. For example, the Parcel layer contains many parcels (rows) which have a number of fields, like street, address, APN, owner, etc. Usually there is a separate layer for these as well, so you can display them separately. containing the data behind a layer. The resulting data is exactly the same information that you find using the Identify button, but in the form of a single table.

If there are external tables connected with a layer, you can also query them.

When you have found the items you are searching for, you can zoom in to the specific features on the map, where you can treat them as selected features, or view statistics of the selected features.

Note: You can change some of the settings for a Query in My Profile .

Create a query

Narrow the search using several fields with the AND button

If you want to narrow the results of the query to fewer features use the AND button to search using several fields to include all the features that have both the first criteria and the second. In this example, we first searched for all the Stormdrain Lines made with the "CMP" Material, but we want to narrow the search down to those laid prior to 1988.

  1. Click AND.

  2. Select another field, operator and search data.

  3. Click Run Query.

  4. Look at the new Query String.

  5. Check to see how many features the revised query found.

Note: Use OR if you want to expand the results to include everything that has either the first criteria or the second criteria.

Zoom to All Records

Save a query

View Statistics about a particular feature

  1. Make sure that your pop-up blocker enables  http://www.geovieweronline.net/.

  2. Click the Statistics button to view a pop-up with a list of fields for the selected features.

  3. Click a field name to view the Minimum and Maximum Values for that field and the Sum of all the values for the selected features.

Note: Statistics are only meaningful with features with a numeric value, and the sum only where a sum makes sense, as in total area.

Query on External Data

If there are tables associated with a layer, use this query to view the tables.