Académique Documents
Professionnel Documents
Culture Documents
Excel Access
Excel and Access are very similar when it comes to running
powerful queries, running sophisticated calculations, generating
reports and forms, and connecting to external data.
Access
Access is a data management system with relational data.
Access Excel stores information in worksheets; Access stores data in tables for
complex querying in relation to data stored in other locations.
Access is a data management system with relational data.
Access Excel stores information in worksheets; Access stores data in tables for
complex querying in relation to data stored in other locations.
Access
Interface
Create a new
query
Retrieve, export or
connect-to data
outside of Access
Access
Interface
Access
Query Design
Perform summary
calculations (sum, count,
average, etc.)
Select fields to
Run/execute display and
the query perform
calculations on +
set relationships
Access You can write the query in SQL, but the Design View is a graphical
Query Design user interface (GUI) that requires no knowledge of SQL language.
Field: Field from existing
table to be queried
Table: Table where selected
field exists
Total: When Σ Totals is
selected, can perform
summary calculations (min,
max, avg, etc.); default is
“Group By”
Sort: Ascending,
Descending, or not sorted
Show: Field will be displayed
in query result if checked
Criteria: Query for that field
Or: Same as “OR” Boolean
Access Lines below “or:” are the Criteria for fields other than the first. Including different Criteria
on the same horizontal line is the same as the “AND” Boolean; different Criteria on
Query Design
different horizontal lines is the same as the “OR” Boolean
1
3 4
1. Double click each of 2. Select Σ Totals 3. Uncheck Show for 4. Under the Total dropdown, 5. Select Run
Access the fields shown above BLDGCLASS and in the select Sum for LOTAREA and
Query Design to add them to query. Criteria set it to LIKE ‘I*’ BLDGAREA and Sort the
LOTAREA by Descending
Selecting the View returns back to the Query Design
1. Back in Design View, change the 2. Save the query 3. Click Run
Access
BLDGCLASS Criteria to ‘I1’ to list only
Query Design Hospitals, Sanitariums, Mental Institutions
Oftentimes there are multiple spellings for the same owner. TIP: Save a copy of the
Access
Selecting one name and replacing the others with the database before making
Updating Records correct name can be accomplished via a query. updates.
1
1. Create a new query 2. Double-click OWNERNAME and in the Criteria 3. Click Run
Access (Create > Query Design) enter LIKE ‘*PRESBYTERIAN H*’ in one row;
Updating Records and add the Location table LIKE ‘*PRESPYTERIAN H*’ in another
4
6+7
4. Select Update table 5. After removing the *, in the 6. Click Run 7. A dialog will appear
Access Update To row type in to confirm the update.
Updating Records PRESBYTERIAN HOSPITAL Click Yes
Access Updating the table for Columbia LIKE ‘*COLUMBIA U*’
Updating Records University properties LIKE ‘*ROYAL CHARTER*’
LIKE ‘*S.K.I.*’
Access Updating the table for Memorial Sloan- LIKE ‘*SLOAN-KETT*’
Updating Records Kettering Cancer Center properties LIKE ‘*MEMORIAL HOSP*’
LIKE ‘*SKI REAL*’
Access Updating the table for St. Luke’s- LIKE “*ST LUKE’S/R*”
LIKE ‘*ST LUKES-R*’
Updating Records Roosevelt Hospital properties.
LIKE ‘*LUKES H*’
4
2. Make a copy of the Manhattan tax lots 3. Join the HOSP_OPP table to the
Access
data (right click to copy, paste into Layers) copied layer on BBL
Relating to GIS
Access
Relating to GIS
2
1. Select the Layer To KML 2. Select the new layer and 3. Click OK
Access
tool under ArcToolbox > designate the output file; set
GIS to Google Earth Conversion Tools > To KML the output scale to 1
Access File > Open > navigate to the Google Earth will maintain symbology
GIS to Google Earth recently-created KMZ file and data descriptions from ArcMap
Access
GIS to Google Earth
Columbia University intent to
redevelop existing parking garage
MSK to expand
existing hospital Hunter College to
move to E76th Street
DSNY garage site; to
relocate garage on
E25th Street
Access
GIS to Google Earth