Nagendra Vemulapalli Nagendra.vemulapalli@mail.wvu.edu Access chapters 1&2 Nagendra Vemulapalli Nagendra.vemulapalli@mail.wvu.edu.

Slides:



Advertisements
Similar presentations
Database Basics. What is Access? Database management system Computer-based equivalent of a manual database Makes it easy to organize and update information.
Advertisements

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.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 3 1 Microsoft Office Access 2003 Tutorial 3 – Querying a Database.
Microsoft Access 2003 Introduction To Microsoft Access 2003.
Querying a Database Microsoft Office Access 2003.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 1 1 Microsoft Access 2003 Tutorial 1 – Introduction To Microsoft Access 2003.
Microsoft Access 2007 Microsoft Access 2007 Introduction to Database Programs.
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory Pasewark & Pasewark.
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 1 1. Chapter 2: Relational Databases and Multi-Table Queries Exploring Microsoft Office.
1 Microsoft Access 2002 Tutorial 3 – Querying a Database.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall1 Exploring Microsoft Office Access 2007 Committed to Shaping the Next Generation of.
Introduction to Access By Mary Ann Chaney and Alicia Harkleroad.
1 Chapter 1: Finding Your Way Through a Database Exploring Microsoft Office Access 2010.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Chapter 1: Finding Your Way Through.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Chapter 1: Finding Your Way Through.
Copyright © 2008 Pearson Prentice Hall. All rights reserved.1 1 Committed to Shaping the Next Generation of IT Experts. Chapter 2: Relational Databases.
With Microsoft Office 2007 Introductory© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Introductory.
1 Access Lesson 5 Creating and Modifying Reports Microsoft Office 2010 Introductory.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 1 Committed to Shaping the Next Generation of IT Experts. Chapter 1: Finding Your.
DAY 14: ACCESS CHAPTER 1 Tazin Afrin October 03,
Microsoft Access 2003 Define some key Access terminology: Field – A single characteristic or attribute of a person, place, object, event, or idea. Record.
Relationships and Advanced Query Concepts Using Multiple Tables Please use speaker notes for additional information!
Microsoft Office 2007 Access Chapter 3 Maintaining a Database.
SESSION 3.1 This section covers using the query window in design view to create a query and sorting & filtering data while in a datasheet view. Microsoft.
1 Chapter 1: Finding Your Way Through a Database Exploring Microsoft Office Access 2007.
Microsoft Office XP Illustrated Introductory, Enhanced Tables and Queries Using.
Microsoft Access. Microsoft access is a database programs that allows you to store retrieve, analyze and print information. Companies use databases for.
INFORMATION TECHNOLOGY DATABASE MANAGEMENT. Adding a new field 1Right click the table name and select design view 2Type the field information at the end.
Pasewark & Pasewark 1 Access Lesson 3 Creating Queries Microsoft Office 2007: Introductory.
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.
ACCESS (CHAPTER 2-3 continued) Naman Kohli October 16,
You can sort Access data so you can view records in the order you want to view them, and you can filter data so you only see the records you want to see.
CHAPTER 1 – INTRODUCTION TO ACCESS Aliya Farheen March 5, 2014.
Lesson 2: Designing a Database and Creating Tables.
Pasewark & Pasewark Microsoft Office 2003: Introductory 1 INTRODUCTORY MICROSOFT ACCESS Lesson 4 – Finding and Ordering Data.
XP New Perspectives on Microsoft Access 2002 Tutorial 31 Microsoft Access 2002 Tutorial 3 – Querying a Database.
Work with Tables and Database Records Lesson 3. NAVIGATING AMONG RECORDS Access users who prefer using the keyboard to navigate records can press keys.
DAY 18: MICROSOFT ACCESS – CHAPTER 3 CONTD. Akhila Kondai October 21, 2013.
Access Module Implementing a Database with Microsoft Access A Great Module on Your CD.
1 Finding Your Way Through a Database Exploring Microsoft Office Access.
Access Lesson 5 Creating and Modifying Reports
Exploring Microsoft Office Access 2007
Access Creating a Database
Microsoft Office Illustrated Fundamentals
Exploring Microsoft Office Access
Access Creating a Database
What is a Database? How is a Database use? How to set up in Access?
Access Lesson 1 Understanding Access Fundamentals
Exploring Microsoft Office Access 2007
Exploring Microsoft Office Access 2007
Microsoft Office Access 2003
Tutorial 1 – Introduction To Microsoft Access 2003
Navya Thum March 04, 2013 Microsoft ACCESS Navya Thum March 04, 2013.
Creating and Modifying Queries
Tutorial 3 – Querying a Database
Tutorial 1 – Introduction To Microsoft Access 2003
Microsoft Office Access 2003
Introduction to Database Programs
Nagendra Vemulapalli Access chapters 3&5 Nagendra Vemulapalli 1/18/2019.
Introduction to Access
Nagendra Vemulapalli Access chapters 3&6 Nagendra Vemulapalli
Introduction to Database Programs
Topic 12 Lesson 2 – Retrieving Data with Queries
Grauer and Barber Series Microsoft Access Chapter One
Exploring Microsoft Office Access
New Perspectives on Microsoft
Relationships While we are on the subject of Relationships, let’s take a quick look at them.
Presentation transcript:

Nagendra Vemulapalli Nagendra.vemulapalli@mail.wvu.edu Access chapters 1&2 Nagendra Vemulapalli Nagendra.vemulapalli@mail.wvu.edu

Announcement Lesson C in MyITLab is due on 03/18/2013 7/27/2019 Nagendra Vemulapalli

Get the Database Download and open Example1 file from todays lecture notes * Premise: We are running a company and this database tracks information on our employees 7/27/2019 Nagendra Vemulapalli

Filters Give a temporary view of desired data to help isolate portions Filter by Selection – lets us specify an example Filter by Form – more powerful, can search for records meeting multiple conditions and by operators such as: <, >, <=, >= 7/27/2019 Nagendra Vemulapalli

Filter by Selection Example Say we wish to isolate our employees with poor performance… Open the Employees table Click in one of the field values containing Poor Click Selection in the Sort & Filter group Select Equals Poor Click Toggle Filter to turn off 7/27/2019 Nagendra Vemulapalli

Filter by Form Example Say we want to see all Females making over $40k… Select Advanced in Sort & Filter group Choose Filter By Form Remove Poor from performance 7/27/2019 Nagendra Vemulapalli

Filter by Form Example Select F for Gender Enter >40000 for Salary Click the Toggle Filter button Review the results Toggle the filter off 7/27/2019 Nagendra Vemulapalli

Sorting on a Single Field Sorting allows us to arrange the way the table data looks… Click in a record under the Last Name field Click the Sort Ascending button Next, sort ascending on Salary 7/27/2019 Nagendra Vemulapalli

Sorting on Multiple Fields Fields must be side by side to do this Click and Drag to highlight both the LastName and FirstName fields Sort Descending (Note the Smith’s first names) Do it again Ascending 7/27/2019 Nagendra Vemulapalli

Databases & Relationships(Lookahead.accdb) A Database is a collection of “Related” tables This can also be called a “Relational Database” A Common Field between tables is what allows a relationship to exist. This works by way of “Primary” and “Foreign” keys… 7/27/2019 Nagendra Vemulapalli

Primary Keys Primary Key – Field in a every table whose field values are unique for every record Examples might be things like: Student ID numbers SSN number Cell Number Anything that will not have duplicates as additional records are entered 7/27/2019 Nagendra Vemulapalli

Relationships Foreign Key – Similar/Same field in the second related table in the relationship Primary key field in relationship will have similar data type and content to foreign key field The two tables are joined together on the primary and foreign keys and form a Common Field. 7/27/2019 Nagendra Vemulapalli

Relationships The link formed through this Common Field which is dubbed in one case as a “primary key”, and in another as a “foreign key”, allows tables to share data Note that the “Look Ahead” database has 3 tables, but we will only look at 2 of them.. 7/27/2019 Nagendra Vemulapalli

1: Employees Table… EmployeeID is the Primary Key as all numbers are unique for employee records 7/27/2019 Nagendra Vemulapalli

2: Locations Table… LocationID is the primary key and each record has a unique LocationID designator. This will tie back to the Employees table. 7/27/2019 Nagendra Vemulapalli

Relationships Databases are all about efficiency and not having to store the same information more than once if multiple records need it In this example, we know that multiple people work at the same office address. One address can have many related Employees (One to Many)… 7/27/2019 Nagendra Vemulapalli

Relationships Instead of typing the same address in each record for every Atlanta office employee: “450 Peachtree Road…” We can assign a simple relationship to a “Locations” table and reference this information to a given location with a short common code of “L01” between the tables… 7/27/2019 Nagendra Vemulapalli

One to Many Relationship (One instance here) (Many here) Typing “L01” when entering an employee and having it equate to the entire address saves MANY characters in databases as it is reused over and over. “L01” is 3 characters and the entire address is over 30 ! 7/27/2019 Nagendra Vemulapalli

Making the Relationship These tables need to be tied together (related) to work this way… Open the Relationships Window Database Tools ribbon > Relationships Click Show Table Double click Employees & Locations, then Close 7/27/2019 Nagendra Vemulapalli

The Relationships Window The Relationship window depicts included table structures and their associations Within the structures, we see each table’s fields Primary keys are shown with a key icon … 7/27/2019 Nagendra Vemulapalli

Making the Relationships Drag “LocationID” from the “Locations” table to “LocationID” in the “Employees” table. Notice the “One-To-Many” reference Click to Enforce Referential Integrity Click Create… 7/27/2019 Nagendra Vemulapalli

Relationship Formed (Relationship Primary Key) Note the One to Many (1 to infinity symbol) that formed on the join line… Close and save the relationship Run the “Employee Information” query to see data pulled together from both tables… (Relationship Foreign Key) Note, the relationship we made was already created in the query we ran and we did this only for increased understanding of how to create relationships. 7/27/2019 Nagendra Vemulapalli

Query Results Information is pulled from the “Employee” and “Locations” tables through their relationship and shown united within the query results to give us a complete picture of the information ! The LocationID field was used behind the scenes to pull it all together with the L01 value The full address is actually only stored (taking up space) once in the database, and we are able it multiple times as needed. 7/27/2019 Nagendra Vemulapalli