Introduction to Access 2010

Slides:



Advertisements
Similar presentations
Information Systems Technology Ross Malaga B Copyright © 2005 Prentice Hall, Inc. B-1 WORKING WITH DATABASES.
Advertisements

Importing and linking through Access Please use speaker notes for additional information!
Introduction to MS Access. Creating a New Database File/New –Blank database –New database name and location.
Querying a Database Using the Select Query Window
QUERYING A DATABASE By: Dr.Ennis-Cole. OBJECTIVES: Learn how to use the Query window in Design view Create, run and Save queries Define a relationship.
Creating a table in Access. Table Design Considerations Just as you first create a blueprint to build a house, you should first sketch or outline the.
1 Microsoft Access 2002 Tutorial 5 – Enhancing a Table’s Design, and Creating Advanced Queries and Custom Forms.
Introduction to Access By Mary Ann Chaney and Alicia Harkleroad.
Lesson 2.  To help ensure accurate data, rules that check entries against specified values can be applied to a field. A validation rule is applied to.
® Microsoft Office 2010 Access Tutorial 2 Building a Database and Defining Table Relationships.
Lesson 17 Getting Started with Access Essentials
MS-ACCESS BY SANGEETHA PARTHASARATHY Topics to be covered §Comparing Values in Selection Criteria §Calculating Values in a Query §Changing the appearance.
Introduction to MS Access. Creating a New Database File/New –Blank database –New database name and location.
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.
SQL and Conditions Speaker notes will provide additional information!
1 Database Systems Introduction to Microsoft Access Part 2.
Introduction to Access 2010 CIS120first.accdb is the database I am creating.
ACCESS (CHAPTER 2-3 continued) Naman Kohli October 16,
I want to do SQL, I start as if I am doing a regular query.
When I want to work with SQL, I start off as if I am doing a regular query.
1 Lesson 18 Managing and Reporting Database Information Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
Ennis-Cole, AC 2.01, CECS Maintaining A Database By: Dr. Ennis-Cole.
Key Applications Module Lesson 22 — Managing and Reporting Database Information Computer Literacy BASICS.
Querying Databases A query is a program that allows us to VIEW the data or operate on the data Several types of queries –Select query –Merge query –Summary.
A am going to create a table in design view. I am going to create a table in an Access database that contains information about the books that I have on.
Access Module Implementing a Database with Microsoft Access A Great Module on Your CD.
Finish ing the logic flowc harts from week 3.. if invcd = “A” and (amtfst > 500 or amtsnd > 200) move “OKAY” to msg end if With the parenthesis, invcd.
Creating a database - I clicked on blank database and am saving it as books10.mdb. For more information see the practice example under week #1. I am going.
Access Query Design. IT Fundamentals2 Access Query Design The Query design screen provides a mechanism for selecting specific data from datafile(s) by:
Sample template for portfolio - I would prefer to see you do something more original!
This is the software we will use to load our html page up to the server. You can download a copy for home if you want to.
Access Tutorial 2 Building a Database and Defining Table Relationships
Microsoft Access 2013 Bobby Wan.
Lesson 23 Managing and Reporting Database Information
Developing Forms and Subforms.
This shows the user interface and the SQL Select for a situation with two criteria in an AND relationship.
On new..
Access Database for CIS17
Creating a table in Access
Please use speaker notes for additional information!
Lesson Five: Building Custom Patient Lists
Database Queries.
Access and Condition Statements
Generating forms with the wizard in Access
follow this structure. Creating records following the structure of the table is populating the table.
Using Access 2016 Since we are creating a new Access database, we need to select blank database.
Microsoft Office Access 2003
Week 3. criteria must be true..
Using SQL with Access I am adding queries to the stu table in SecondDB.accdb – a database that I created in class. SQL stands for structured query language.
Access
Miscrosoft Office..
I am opeing Access 2003 in the Microsoft Office.
Click ‘browse’ to search your device for
On new..
Access Database for CIT12
Chapter 1 Databases and Database Objects: An Introduction
Environment/Report Tutorial
Please use speaker notes for additional information!
Done with SQL..
This is the example I want the class to put up to become comfortable with creating and populating a table in Access.
Creating a Database and a table
Lesson 24 Managing and Reporting Database Information
Mock Assessment Databases - ANSWERS
Notes on SQL This slide show will introduce SQL using Access. It assumes only an introductory level of knowledge about Access.
Topic 12 Lesson 2 – Retrieving Data with Queries
Using SQL with Access I create a database named
I am now going to do queries in SQL
Template for the portfolio.
Access Click on file and then you want a new database.
Tutorial 5 Advanced Queries and Enhanced Table Design
Presentation transcript:

Introduction to Access 2010 CIS120first.accdb is the database I am creating.

I want you to use a different layout to design the table in the database.

I clicked on View and got prompted to name the table.

The first field is idno and I made the datatype text and the field size 5.

The second field is the empname and I made it text and changed the field size to 40.

The third field on the record is named jobcode and it is a text field that has a field size of 2 because the code is only 2 characters.

I have set up a forth field called numdep which I am going to make numeric and an integer. This shows the Data Type choices.

Once I pick Data type of Number I can chose a type depending on the numbers I want. I will use integer.

Now click on view and you can populating the table with data. For decimal numbers I use single for small decimals and double for large decimals like salary.

I have populated the table with data.

Now I click on Create. Next I click on Query Design. A query lets you specify fields and conditions that you want to use to access the table. It will return records that meet the query criteria.

Next I select the table by clicking on Add.

Now you see the fields in the table so you can select fields to use in your query.

Click on datasheet view to see results. I brought down four of the fields by double clicking on them (you can also drag). I want to see all IT employees so I put IT in the criteria line under the jobcode. IT is in quotes because it is a string or non-numeric literal.

Logic for query checking For jobcode = IT Jobcode = IT N Y Display

Click on the design icon to go back to design.

I named the query ITemp.

The query has been saved

Creating another Query.

You can also click on the arrow and choose the field.

I have now got two conditions in an AND relationship. The two conditions are put on the criteria line and both must be true for the record to be displayed.

LOGIC for two things in an AND relationship Jobcode = IT Y N Salary < 60000 N Y Display

The results

In this example, the criteria is that numdep is > 3 OR salary is > 55000. Since these are in an OR relationship, one criteria goes on the criteria line and the other criteria goes on the or line.

Logic for two criteria in an OR relationship. numdep > 3 N Y salary > 55000 Display Y N Display

The criteria is numdep > 3 OR salary > 55000. The first result has both true. The second result has just numdep > 3. The third result has just numdep > 3. The fourth result has just salary > 55000.

In this query the jobcode has to be IT and then in addition either the numdep has to be > 3 or the salary has to be > 55000. Since the IT has to be true it has to be on both the criteria line and the or line. Essentially you now have jobcode IT and numdep > 3 OR jobcode IT and salary > 55000.

Jobcode has to be IT and then either numdep has to be > 3 OR salary has to be > 55000. Jobcode = IT N Y numdep > 3 N Y salary > 55000 Display Y N Display

All the records have a jobcode of IT. The first record is IT and both numdep > 3 and salary > 55000. The second one is IT and jobcode > 3. The third one is IT and salary > 55000.