LSP 121. LSP 121 Math and Tech Literacy II. Simple Databases. Today s Topics. Database Class Schedule. Simple Databases



Similar documents
PROJECT ON MICROSOFT ACCESS (HOME TAB AND EXTERNAL DATA TAB) SUBMITTED BY: SUBMITTED TO: NAME: ROLL NO: REGN NO: BATCH:

Introduction to Microsoft Access 2013

Introduction to Microsoft Access 2010

If the database that is required is similar to a template then whole database can be generated by using a template that already exists.

Creating a Database in Access

Lesson 07: MS ACCESS - Handout. Introduction to database (30 mins)

Microsoft Access Basics

Databases with Microsoft Access. Using Access to create Databases Jan-Feb 2003

MS Access Lab 2. Topic: Tables

Microsoft. Access HOW TO GET STARTED WITH

Setting up a basic database in Access 2003

Access Tutorial 3 Maintaining and Querying a Database. Microsoft Office 2013 Enhanced

Tutorial 3 Maintaining and Querying a Database

Chapter 5. Microsoft Access

Using Microsoft Access Databases

Customized Reports using Microsoft Access 2010

Check out our website!

Tutorial 3. Maintaining and Querying a Database

Microsoft Office 2010

ACCESS Importing and Exporting Data Files. Information Technology. MS Access 2007 Users Guide. IT Training & Development (818)

Microsoft Access 2010 Part 1: Introduction to Access

Microsoft Excel v5.0 Database Functions

Creating and Using Databases with Microsoft Access

MS Access. Microsoft Access is a relational database management system for windows. Using this package, following tasks can be performed.

How To Understand The Basic Concepts Of A Database And Data Science

IT Quick Reference Guides Performing Mail Merges in Word 2010

Setting up a basic database in Access 2007

Monthly Payroll to Finance Reconciliation Report: Access and Instructions

Microsoft Access 2007 Module 1

Ken Goldberg Database Lab Notes. There are three types of relationships: One-to-One (1:1) One-to-Many (1:N) Many-to-Many (M:N).

Microsoft Office 2010

What is a database? The parts of an Access database

Advanced Excel 10/20/2011 1

Using Mail Merge in Microsoft Word 2003

Introduction to Microsoft Access 2003

Microsoft Access Part I (Database Design Basics) ShortCourse Handout

Creating a Database using Access 2007

Excel I Sorting and filtering Revised February 2013

User Services. Intermediate Microsoft Access. Use the new Microsoft Access. Getting Help. Instructors OBJECTIVES. July 2009

Use Find & Replace Commands under Home tab to search and replace data.

4. The Third Stage In Designing A Database Is When We Analyze Our Tables More Closely And Create A Between Tables

Table and field properties Tables and fields also have properties that you can set to control their characteristics or behavior.

ACCESS 2007 BASICS. Best Practices in MS Access. Information Technology. MS Access 2007 Users Guide. IT Training & Development (818)

Access Queries (Office 2003)

Exploring Microsoft Office Access Chapter 2: Relational Databases and Multi-Table Queries

Microsoft Access XP Session 1 Week 8

Database File. Table. Field. Datatype. Value. Department of Computer and Mathematical Sciences

Access Creating Databases - Fundamentals

Learning Services IT Guide. Access 2013

Creating a New MS-Access Database

Microsoft Access 2010 Overview of Basics

Microsoft Using an Existing Database Amarillo College Revision Date: July 30, 2008

Creating tables in Microsoft Access 2007

Consider the possible problems with storing the following data in a spreadsheet:

Intellect Platform - Tables and Templates Basic Document Management System - A101

Create a New Database in Access 2010

How to set up a database in Microsoft Access

SOAL-SOAL MICROSOFT EXCEL 1. The box on the chart that contains the name of each individual record is called the. A. cell B. title C. axis D.

Microsoft Access Introduction

Click to create a query in Design View. and click the Query Design button in the Queries group to create a new table in Design View.

A database is a collection of data organised in a manner that allows access, retrieval, and use of that data.

TheFinancialEdge. Fast! Guide

Microsoft Access 2003 Module 1

Microsoft Access 2010

Creating and Using Forms in SharePoint

Excel Database Management Microsoft Excel 2003

Beginning Microsoft Access

Topic: Relationships in ER Diagram and Relationships in MS Access

CGS2531 Problem Solving Using Computer Software Sample Exam 3. Select the most appropriate answer(s).

Working with Access Tables A Continuation

Microsoft Access 3: Understanding and Creating Queries

MS Access: Advanced Tables and Queries. Lesson Notes Author: Pamela Schmidt

EXCEL Using Excel for Data Query & Management. Information Technology. MS Office Excel 2007 Users Guide. IT Training & Development

Search help. More on Office.com: images templates

Simple Invoicing Desktop Database with MS Access c 2015 by David W. Gerbing School of Business Administration Portland State University

In This Issue: Excel Sorting with Text and Numbers

Move between open workbooks. Display the print menu. Select whole spreadsheet. Microsoft Excel Keyboard Keys. General

MICROSOFT ACCESS 2003 TUTORIAL

MICROSOFT ACCESS STEP BY STEP GUIDE

Lab 9 Access PreLab Copy the prelab folder, Lab09 PreLab9_Access_intro

How to Make the Most of Excel Spreadsheets

Filter by Selection button. Displays records by degree to which they match the selected record. Click to view advanced filtering options

MICROSOFT ACCESS TABLES

Creating a Gradebook in Excel

Toad for Data Analysts, Tips n Tricks

Mail Merge Creating Mailing Labels 3/23/2011

Introduction to Microsoft Access 2007

A Basic introduction to Microsoft Access

Basics Series-4004 Database Manager and Import Version 9.0

IN THIS PROJECT, YOU LEARN HOW TO

Access I Tables, Queries, Forms, Reports. Lourdes Day, Technology Specialist, FDLRS Sunrise

NATIONAL INSTITUTE OF HOTEL MANAGEMENT, KOLKATA

SENDING S WITH MAIL MERGE

Microsoft Access 2007 Introduction

Using Excel As A Database

Lab 2: MS ACCESS Tables

Microsoft Excel Understanding the Basics

Microsoft Access 2010 handout

Transcription:

Greg Brewster, DePaul University Page 1 LSP 121 Math and Tech Literacy II Greg Brewster DePaul University Today s Topics Elements of a Database Importing data from a spreadsheet into a database Sorting, Finding and Filtering data Thanks to Mary Jo Davidson and Curt White for some of the materials in this presentation! Database Class Schedule Tues. 9/15 Thurs. 9/17 Relational Databases and Normalization Tues. 9/22 Queries and Forms Thurs. 9/24 Reports Tues. 9/29 Database sizing / transmission, binary data. Thurs. 10/1 Review and practice Tues. 10/6 Database Exam

Greg Brewster, DePaul University Page 2 A database Supports our work with a particular set of information about something, like Addresses we want to keep Classes (at DePaul for example) A home improvement store A zoo In order to make our databases design work We need to think abstractly about the data we plan to store.. But we will tackle that a bit later. First, we ll learn how to use MS-Access, our database software tool (DBMS), with a simpler set of data Database Management Systems (DBMS) Allow us to build databases that meet our needs, as resources for application software

Greg Brewster, DePaul University Page 3 What will a DBMS do for me? A DBMS protects data while making it accessible to approved processes, Including tools (software components of the DBMS) that perform --- Database creation Reporting Query Development (asking questions) Addition, change, and deletion of records Basic Terms Table an object you define and use to store data. Each table contains information about a particular subject, such as customers, patients, or orders Fields tables contain fields (columns) such as first name, street address, score Record a logical collection of fields Query an object that provides a custom view of data from one or more tables Field Attributes (Data Types) You want to create fields for Name, Address, Telephone, Amount Paid, Text the most common! Number do NOT use unless you plan to do arithmetic with this field Date/Time Currency use with money fields AutoNumber similar to Number but Access automatically inserts the numbers for you Yes/No (and others)

Greg Brewster, DePaul University Page 4 Today, we consider databases that contain only a single table. In the next class, we will look at Relational Databases that store multiple tables with relationships between them. Why a Database (and not a spreadsheet)? You have too many separate files or too much data in a single file You need to look at the data in many different ways You need to share the data You want to secure access to the data and control data values Spreadsheets vs. Databases Spreadsheets are Good for small data sets Good for numerical calculations Databases are Better for larger, more complex data sets Better for customizing forms and reports (showing data on screen and on paper) Better for finding unexpected patterns in data (data mining) Used with web applications

Greg Brewster, DePaul University Page 5 Keys and Indexes A Primary Key is a field in a database that has a unique value for every record in the database. Examples: Student ID number, Social security number, Product SKU number Access can create an Automatic Key field that generates a unique number for each record you add to the database if you want it. More on keys later Keys and Indexes An Index is a field in a database that is optimized for searching. Database creator (that s you) can choose which fields are indexed. Searches on Index Fields are much faster than searches on other fields in the database. How? Access creates hidden index tables behind the scenes to help with fast data lookup. Data Table Views There are two views of a data table in Access that we will use: Datasheet View shows the contents of the table. Data can be added, deleted, modified from this view. Design View shows the attributes of the fields in the table. Fields can be added/deleted and field attributes can be modified from this view. There are other views, but we don t consider them right now.

Simple Database Operations What can you do with a single-table database? Add, Delete, Modify data in the table Sort data using a particular field Find a particular value within the database Filter the database so that only a subset of the data records matching a filter criterion are visible. Simple Database Operations What can you do with a single-table database? Add, Delete, Modify data in the table Sort data using a particular field Find a particular value within the database Filter the database so that only a subset of the data records matching a filter criterion are visible. Finding a Record A very simple way to look for a record But you can only search in one table, and you can only look for one field Open the table, then on the Home tab click on Find (or CTRL-F) Enter values as necessary Wildcard character: * Find is nowhere near as powerful as performing a query (later) We ll try FINDing a record in a few moments Greg Brewster, DePaul University Page 6

Greg Brewster, DePaul University Page 7 Filtering Records If you want to see all the rows in a table that match any part of a value, you can use the Filter command A couple different forms of Filter. Let s look at Filter by Selection Open the table you want to filter. Highlight the field you want to filter on. Then on the Home tab click on Selection To undo filtering, click on Toggle Filter We ll try filtering in a few moments Importing Data into a Flat Access Database Many times you want to take an existing data set and import it into an Access database The existing data set can be plain text (.txt), a spreadsheet (.xls), or other forms of existing databases Let s consider the example of importing a spreadsheet into an Access database Importing Spreadsheet Data Create a new (blank) database (unless you are importing into an existing database, then simply open that one) Select External Data from the top tabs Select the appropriate type of file that you want to import

Greg Brewster, DePaul University Page 8 Importing Spreadsheet Data You probably want to import the data into a new table If the spreadsheet you are importing has more than one worksheet, select the appropriate worksheet Does the first row contain column headings? Importing Spreadsheet Data Now you can tell the wizard which fields should be indexed in the new table Choose your own primary key or let Access add a primary key? Give the table a name and click on Finish You may have import errors check the file xx$_importerrors In-Class Activity #1 Let s practice using simple databases with In- Class Activity #1.