Lab 7: Attribute SQL- Query the database

Slides:



Advertisements
Similar presentations
Someone hands you a a diskette that has data about schools in the City of Cleveland. They tell you that the school file is in a a dBase format. How do.
Advertisements

MS Access 2003 Tutorial By: Juan GUANTENG!!! Y7. Step 1 Launch the Microsoft Access 2003 program. This can be done by clicking an icon on the desktop.
Oracle for Windows NT is required to run queries from the Banner database. Call the help desk at extension 4440 if you do not have this.
Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 4 – Finding and Ordering Data.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 1 Committed to Shaping the Next Generation of IT Experts. Chapter 2: Relational Databases.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 2 Querying a Database Using the Select Query Window.
Integrating Access with the Web and with Other Programs.
You have just been given a CD that contains MapInfo format data layers of parcels, streets, and target zones. Your supervisor asks you to take a look at.
Lab 5: Thematic Maps & workspaces You have a parcel file that contains a field containing property values. How do you see the property value patterns throughout.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 1 Creating and Using a Database.
Introduction To Form Builder
Attribute databases. GIS Definition Diagram Output Query Results.
Lab 10: Spatial Queries You have been asked to determine what census tract that each parcel Property is contained. How will you find the tract number for.
Lab 8: Map Layout window- use asset up to Print Maps You have been asked to create a professional looking map of your study area. The map must include.
Information systems and databases Database information systems Read the textbook: Chapter 2: Information systems and databases FOR MORE INFO...
CTS130 Spreadsheet Lesson 13 Working with Lists. Copying Data between Workbooks  Use the [Copy ]and [Paste] Buttons  Use the CTRL+[C] and CTRL + [V]
Chapter 2 Querying a Database
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
Using Dreamweaver. Slide 1 Dreamweaver has 2 screens that do different things The Document window where you create your WebPages The Site window where.
Pasewark & Pasewark Microsoft Office 2003: Introductory 1 INTRODUCTORY MICROSOFT ACCESS Lesson 1 – Access Basics.
Advanced Forms Lesson 10.
Chapter 2 Querying a Database MICROSOFT ACCESS 2010.
Database Applications – Microsoft Access Lesson 9 Designing Special Queries Updated 4/11.
Database Applications – Microsoft Access Lesson 9 Designing Special Queries.
You can use a query to view a subset of your data or to answer questions about your data. For example, if you want to view a list of student names and.
Chapter 1 Databases and Database Objects: An Introduction
Microsoft Access – Tutorial 1 if you need to review general Microsoft Office procedures such as: menus toolbars task panes files help printing please go.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 4 BACKNEXTEND 4-1 LINKS TO OBJECTIVES Query Design Query Criteria Modify a Query Using OR.
Microsoft Access Lesson 1 Lexington Technology Center February 11, 2003 Bob Herring On the Web at
Martin Dodge Practical 2, 24th March 2004, pm Social Science Research Methodologies.
XP 1 Microsoft Access 2003 Introduction To Microsoft Access 2003.
Access Manual 2 By Dhawala Kovuri Elham S.Khorasani Ismail Guneydas.
Analyzing Data Using Access. Creating a new database To create a new database 1.Start Access. In the Task Pane, click Blank Database. 2.The File New Database.
XP New Perspectives on Microsoft Access 2002 Tutorial 1 1 Microsoft Access 2002 Tutorial 1 – Introduction To Microsoft Access 2002.
ArcGIS: ArcMap Tables. Agenda Opening tables The interface Working with columns Working with records Making selections Advanced table tools ▫Add fields.
XP New Perspectives on Microsoft Access 2002 Tutorial 1 1 Microsoft Access 2002 Tutorial 1 – Introduction To Microsoft Access 2002.
1 After completing this lesson, you will be able to: Change the format of a table. Sort records in a table. Find records in a table Use filters with a.
Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 1 Creating and Using a Database.
Using Microsoft Access Now that data has been entered we are ready to sort or data To do this, first click on the field label which you want to sort If.
1 Access Lesson 3 Creating Queries. 2 Creating a Query with the Simple Query Wizard Query-- database object that lets you ask the database about the data.
If you need to use some information that is not contained in one of the pre-selected tables, you can find out where that data is stored through the Banner.
Chapter Fourteen Access Databases and SQL Programming with Microsoft Visual Basic th Edition.
BA271 Week 6 Lecture Dave Sullivan. Goal for today… Status Report – Review where we are … Status Report – Review where we are … Begin learning about Microsoft.
CS 281 – Fall 2015 Lab 4 Parametric Query and Forms in MS Access.
T7-1 LEARNING OUTCOMES – ACCESS PROBLEM SOLVING 1.Describe the process of using the Simple Query Wizard using Access 2.Describe the process of using the.
MS-Access XP Lesson 4. Modifying Queries 1.Select query in queries 2.Click design button or Right click on query and click design view 3.Change query.
Pasewark & Pasewark Microsoft Office 2003: Introductory 1 INTRODUCTORY MICROSOFT ACCESS Lesson 4 – Finding and Ordering Data.
NSF DUE ; Wen M. Andrews J. Sargeant Reynolds Community College Richmond, Virginia.
Producing a Mail Merged Letter Step 1 Create an Access database for Names and Addresses you can use the ‘Customers’ template in Group Work. Enter the necessary.
INTRODUCTION TO DATABASES USING MICROSOFT ACCESS Basic Database Terms Create A Database Creating Table Fields Populating a Table Modifying Data Create.
Modify Tables and FieldsModify Tables and Fields Lesson 4 © 2014, John Wiley & Sons, Inc.Microsoft Official Academic Course, Microsoft Word Microsoft.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 2 Querying a Database Using the Select Query Window.
Lab 6: Geocoding You have received a dBase file that contains the address list of over 500 homes in your neighborhood that have had reports of lead poisoning.
Chapter Fourteen Access Databases and SQL Programming with Microsoft Visual Basic th Edition.
Microsoft Access By Ritesh Sharma. Introduction Microsoft Access is a desktop database program that enables you to enter, store, analyze,and present data.For.
Saving and Retrieving Farm Areas. The farm area function enables you to save search results from the Search Results screen and save them for future use.
CS 281 – Fall 2010 Lab 4 Parametric Query and Forms in MS Access.
ACCESS PROJECT TWO. PROJECT ONE In project one you: -Created Tables -Created Forms -Created Reports In this project you will learn about queries. Databases.
Programming with Microsoft Visual Basic 2012 Chapter 14: Access Databases and SQL.
Personal Planning System The Merging a New Plan Enterprise Edition.
Using MS Access for SQL CIS 523 Fall 2009 McCoey.
Analyzing Data Using Access
Current outstanding balance
Creating and Using a Database
Creating and Modifying Queries
Geospatial Database Create Geodatabase Practical Session
Grauer and Barber Series Microsoft Access Chapter One
Creating a simple query in the Design View
Analyzing Data Using Access
Presentation transcript:

Lab 7: Attribute SQL- Query the database You have been asked to determine which parcel properties have a market value greater than $75,000. You have been asked to find these properties and display on a map within your study area. How will you find the properties & display on a map using MapInfo? In this lesson, you will learn how to ask questions/ query the attribute table data using query menus to build SQL (structured query language). You will also learn what a relational join is and how to perform a relational join.

To query data in MapInfo, use Query> Select for simple selections: In this example, we want to find Census blocks that have >= 100 persons 1 First select File> open table 2 Select Query> Select 2 3 3 Select table 4 Select assist to write query 4 5 7 6 9 8 5 Select the column “population” 6 Select the operator “>=“ 7 Type the value “100” 8 Verify the syntax 9 Select Ok 10 Select OK to find the answer (next Slide) 10

The Query > Select result in parcels with “population >= 100” displays as a browser and each block highlighted on the map. The query results can be saved as a new table, discarded, or the syntax can be saved in a query template.

brief description of the options. To query data in MapInfo, use Query> SQL Select for more complex selections. Shown below is the Query> SQL Select screen example from MapInfo with a brief description of the options. * 1b * 2b 1a 3 4 2a 5 6 Select File>Open> select table, select Query> SQL Select 1a Highlight From Tables box 1b Select table from tables pop up (table appears in From Tables box) 2a Move cursor to where Condition box; 2b Select column required from columns menu pop up & the column (totalpopulation) displays in the where condition window 3 Select operator (=,>,<,*,/,etc) from Operators menu pop up (operator appears in where condition) 4 Type the value in the where condition box (In this case- 25000) 5 Select other options (Here we are sorting by field totalpopulation so select Order by columns, select the columns button and select the column to sort by 6 Select Ok – The results of the query are displayed as records in a browser & highlighted on map (See results on next Slide)

The results of the Query>SQL Select– cities where the total population is <= 25,000: A browser called Query1 is created that meets the SQL conditions (48 cities) and a map showing the 48 cities are highlighted Also, note that the cities are sorted in ascending (increasing) value by total population

A common relational join using Query> SQL Select in MapInfo: Join the parcel polygon file to the Auditor’s parcel characteristics table. Open the tables that you wish join 2 Determine the fields that are a common link

Relational Join – MapInfo example (continued) 3 Select Query> SQL Select 4 Select tables to join 5 type where condition or choose from column button parcel.ppn choose operator button = from column button audattr.parcel 6 Verify syntax 7 Select OK 8 Query runs: results in a browser and polygons highlighted that met requirements. Query 1 can then be saved to a new table. 3 4 5 6 7 8

You are now ready to begin MapInfo Exercise- Lab 7 Attribute SQL. The main objectives are: To ask questions or query the attribute table using: Query> Select Menu (for simple questions) Query> SQL Select Menu (complex questions) Begin exercise- lab 7