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

Slides:



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

Understanding Relational Databases Basic Concepts and Applications for Qualitative Content Analysis.
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
Mark Dixon Page 1 02 – Queries: Query by Example.
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.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. ACCESS 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 3 – Finding, Filtering,
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.
XP New Perspectives on Microsoft Access 2002 Tutorial 51 Microsoft Access 2002 Tutorial 5 – Enhancing a Table’s Design, and Creating Advanced Queries and.
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.
® Microsoft Office 2013 Access Building a Database and Defining Table Relationships.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 4 BACKNEXTEND 4-1 LINKS TO OBJECTIVES Query Design Query Criteria Modify a Query Using OR.
Database Queries. Queries Queries are questions used to retrieve information from a database. Contain criteria to specify the records and fields to be.
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.
® Microsoft Access 2010 Tutorial 2 Building a Database and Defining Table Relationships.
Introduction to MS Access. Creating a New Database File/New –Blank database –New database name and location.
® Microsoft Office 2010 Building a Database and Defining Table Relationships.
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.
Filtering Data A filter is a set of restrictions you place on the records of an open datasheet or form to temporarily isolate a subset of the records.
SQL and Conditions Speaker notes will provide additional information!
1 Database Systems Introduction to Microsoft Access Part 2.
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.
Build a database V: Create forms for a new Access database Overview: A window into your data So far in this series of courses, you’ve built tables, relationships,
Relational Database Techniques
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.
Lesson 23 Managing and Reporting Database Information
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
Please use speaker notes for additional information!
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.
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
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.
Introduction to Access 2010
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.
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.

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

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.

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. Click on datasheet view to see results. IT is in quotes because it is a string or non-numeric literal.

Jobcode = IT YN Logic for query checking For jobcode = IT 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.

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

The results

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

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

The criteria is numdep > 3 OR salary > 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 >

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 > 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 >

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

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