Database and Data File Management Oct 6/7/8, 2010 Fall 2010 | 11.188/11.520 Recitation 2.

Slides:



Advertisements
Similar presentations
Microsoft ® Access ® 2010 Training Create queries for a new database.
Advertisements

Connect to Excel Spreadsheet with an OLE DB Connection.
Stored procedures and views You can see definitions for stored procedures and views in the demo databases but you can’t change them. For views, expand.
Microsoft SQL Server 2008 From the Program menu choose: Microsoft SQL Server 2008 R2  SQL Server Management Studio. You may see a window indicating the.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 1 Committed to Shaping the Next Generation of IT Experts. Chapter 2: Relational Databases.
M.S. Access Module CAS 133 Russ Erdman. M.S. Access Module Assignment Overview Two options for the unit: All students complete Units A, B and C In class.
ACCESS PART 2. Objectives Database Tables Table Parts Key Field Query and Reports Import from Excel Link to Excel.
Microsoft Access 2003 Introduction To Microsoft Access 2003.
Perancangan Pencatatan Transaksi Pertemuan 21 s.d 22 Matakuliah: F0712 / Lab Sistem Informasi Akuntansi Tahun: 2007.
Lab 7: Attribute SQL- Query the database
Creating a Blank Database 1. Open up Microsoft Access 2. Click on Blank document button 3. On the right panel, Specify the location for saving your database.
Chapter 2 Querying a Database
Attribute databases. GIS Definition Diagram Output Query Results.
Access Lecture 1 Database Overview and Creating Tables Create an Employee Table.
Microsoft Access 2010 Chapter 7 Using SQL.
Information systems and databases Database information systems Read the textbook: Chapter 2: Information systems and databases FOR MORE INFO...
Center for Earned Value Management wInsight – “How to Use” Guide
® IBM Software Group © 2006 IBM Corporation The Eclipse Data Perspective and Database Explorer This section describes how to use the Eclipse Data Perspective,
State of Connecticut Core-CT Project Query 4 hrs Updated 1/21/2011.
DAY 21: MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Akhila Kondai October 30, 2013.
Resources – MS Access Free Online Training Resources  Using an Access database to store and information (2 min)
BIS121 IT for Business Application Lecture 8 – Database (Part I)
Database Concepts & Introduction to MS Access 1. Outline Database Overview  Database Management System Concepts  Database Structures Database, tables,
Advanced Database Management System Lab no. 11. SQL Commands (for MySQL) –Update –Replace –Delete.
Microsoft Access 2010 Chapter 7 Using SQL. Change the font or font size for SQL queries Create SQL queries Include fields in SQL queries Include simple.
Importing your Own Data To display in GIS Lab 4a: (Table Join) Mapping By State, County, or Nation.
DATABASE. A database is collection of information that is organized so that it can easily be accessed, managed and updated. It is also the collection.
Data-mining & Data As we used Excel that has capability to analyze data to find important information, the data-mining helps us to extract information.
Miscellaneous Excel Combining Excel and Access. – Importing, exporting and linking Parsing and manipulating data. 1.
Microsoft Access 2003 Define some key Access terminology: Field – A single characteristic or attribute of a person, place, object, event, or idea. Record.
Database Queries. Queries Queries are questions used to retrieve information from a database. Contain criteria to specify the records and fields to be.
XP New Perspectives on Integrating Microsoft Office XP Tutorial 2 1 Integrating Microsoft Office XP Tutorial 2 – Integrating Word, Excel, and Access.
1 Working with MS SQL Server Textbook Chapter 14.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 Working with MSSQL Server Code:G0-C# Version: 1.0 Author: Pham Trung Hai CTD.
Martin Dodge Practical 2, 24th March 2004, pm Social Science Research Methodologies.
Course ILT Access basics Unit objectives Define database and database-related terminology, and plan a database Start Access and open, create, view, and.
1 By: Nour Hilal. Microsoft Access is a database software where data is stored in one or more Tables. A Database is a group of related Tables. Access.
Microsoft ® Access ® 2010 Training Create Queries for a New Database If a yellow security bar appears at the top of the screen in PowerPoint, click Enable.
Relational Databases (MS Access)
Access 2013 Microsoft Access 2013 is a database application that is ideal for gathering and understanding data that’s been collected on just about anything.
Professor Michael J. Losacco CIS 1110 – Using Computers Database Management Chapter 9.
Using Special Operators (LIKE and IN)
CPSC 203 Introduction to Computers Tutorial 03 & 29 By Jie (Jeff) Gao.
GIS 1 GIS Lecture 4 Geodatabases Copyright – Kristen S. Kurland, Carnegie Mellon University.
Robin Mullinix Systems Analyst GeorgiaFIRST Financials PeopleSoft Query: The Next Step.
PowerPoint Extras. Eyes to the front please! Action Buttons.
What have we learned?. What is a database? An organized collection of related data.
IE 423 – Design of Decision Support Systems Database development – Building Tables
DAY 16: ACCESS CHAPTER 1-2 Rahul Kavi October 8,
Database and Information Management Chapter 9 – Computers: Understanding Technology, 3 rd edition.
1 MS Access. 2 Database – collection of related data Relational Database Management System (RDBMS) – software that uses related data stored in different.
DAY 21: MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Aliya Farheen October 29,2015.
Lesson 13 Databases Unit 2—Using the Computer. Computer Concepts BASICS - 22 Objectives Define the purpose and function of database software. Identify.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
Principles of Database Design, Part I AIMS 2710 R. Nakatsu.
NSF DUE ; Wen M. Andrews J. Sargeant Reynolds Community College Richmond, Virginia.
Alighieri: Introduction to MS Access 1 What is a Database? RELATIONAL DATABASE A database is an organized collection of information. A database is designed.
1 CPE 332 Introduction DBMS: Relational Database Managment Systems Instructor:Suthep Madarasmi, Ph.D. ดร. สุเทพ มาดารัศมี
COMPREHENSIVE Access Tutorial 1 Creating a Database.
EXAM-2 OVERVIEW Aliya Farheen
MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Sravanthi Lakkimsety Mar 14,2016.
How To Start a SQL server Connecting to SQL Server.
INTRODUCTION TO DATABASES (MICROSOFT ACCESS)
Database Management  .
RELATIONAL DATABASE MODEL
Databases and Information Management
Database Queries.
Database.
Databases and Information Management
Tutorial 9 Using Action Queries and Advanced Table Relationships
Presentation transcript:

Database and Data File Management Oct 6/7/8, 2010 Fall 2010 | / Recitation 2

Overview  Database Management and Access  Data File Management  Course Feedbacks and Q&A

Database Management Definitions, Definitions…  Database: Collection of tables and queries  Table (or relational table)  Collection of records  Record  A record is consist of several fields (or attributes)  Query  Set of instructions to a database “engine” to retrieve, sort and format the returning data.  “find the # of housing sales in my database”

What is the difference between a table and a query?

What is the difference between tables and queries?

Create MS Access database

Querying MS Access or any relational database…  Querying = extracting information out of the database  This is done using the Structured Query Language (SQL) Select fields Select records Select PARCELID, ADD2, SQFT, LANDUSE From PARCELS Where SQFT>5000 Select table

Example table

Querying MS Access or any relational database… Select PARCELID, ADD2, SQFT, LANDUSE From PARCELS Where LANDUSE like ‘C’ OR LANDUSE like ‘R*’ OR LANDUSE like ‘A’  Example:  Wildcard characters: ‘*’ ‘%’  AND vs. OR Select fields Select records

 What if you want to query two tables? Ownership Parcel Querying MS Access or any relational database… What will happen if you don’t match up the tables with owerid? A shared key Shared key (ownerid) that is: 1. unique to identify each row 2. can be referenced by another table

SELECT PARCELS.PARCELID, PARCELS.SQFT, OWNERS.OWNERNUM, PARCELS.ONUM, OWNERS.ONAME FROM OWNERS INNER JOIN PARCELS ON OWNERS.OWNERNUM = PARCELS.ONUM WHERE (((PARCELS.SQFT)>5000));

From queries to tables

Import MS-Access tables to ArcGIS -Use MS Access database provider to talk to MS-Access 2003

1.Specify the location of your database (must be a MS Access 2003 database) 2. Test connection 3. Click “OK”

Miscellaneous  One OLE DB connection will create only one connection to the database.  ArcGIS will remember the connection for you.

Resources – MS Access Free Online Resources  Get to know Access (45 min) us/training/get-to-know-access-RZ aspx us/training/get-to-know-access-RZ aspx  Table that data (50 min): us/training/table-that-data-RZ aspx us/training/table-that-data-RZ aspx  Get answers with queries (50 min): us/training/queries-i-get-answers-with-queries-RZ aspx us/training/queries-i-get-answers-with-queries-RZ aspx  Youtube: Tables and Relationships

Data File Management If you work on computers in the lab (37-312, or CRON), for lab exercises/homework or in-class test, we advise you to follow the steps as described below to save your time and efforts in retrieving your previously created maps.  Create your own folder on the local machine Under C:\usertemp (if you are working in ) or C:\Users (if you are working in the CRON labs) e.g., C:\usertemp\shanjang\lab4  Copy GIS data from Course Locker to your local folder by Using ArcCatalog

Data File Management  Create your map, and save path as relative path instead of full path, if you have all your datasets in the previously mentioned newly creased folder under your MIT kerberobs name, by choosing from  File  Document Properties  Data Source Options  Store relative path names to data sources.

Data File Management  After you finish your lab session, please remember to move your local folder to your I drive, so that you don’t lose anything next time.  When you resume your work next time, just move back your folder from your I drive to the local machine, such as C:\usertemp\shanjang\ 

Questions? Feedbacks? Q&A ask us This PowerPoint was prepared by Lulu Xue and Shan Jiang, Oct 6, 2010