BUS2206 Access Lab Queries Second Term, 2018-19.

Slides:



Advertisements
Similar presentations
Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
Advertisements

© 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 10 – Designing.
Exploring Microsoft Access
Concepts of Database Management Seventh Edition
Concepts of Database Management Sixth Edition
Management Information Systems, Sixth Edition
The University of Akron Dept of Business Technology Computer Information Systems The Relational Model: Query-By-Example (QBE) 2440: 180 Database Concepts.
Oct 31, 2000Database Management -- Fall R. Larson Database Management: Introduction to Terms and Concepts University of California, Berkeley School.
1004INT Information Systems Week 10 Databases as Business Tools.
Database Design Concepts INFO1408 Term 2 week 1 Data validation and Referential integrity.
Concepts of Database Management, 4th Edition, Pratt & Adamski
Information systems and databases Database information systems Read the textbook: Chapter 2: Information systems and databases FOR MORE INFO...
Exploring Office Grauer and Barber 1 Information From the Database: Reports and Queries(Wk4)
Concepts of Database Management, Fifth Edition
Introduction to Accounting Information Systems
Management Information Systems By Effy Oz & Andy Jones
1 Chapter 7 Query-By-Example by Monica Chan CS157B Professor Lee.
Concepts of Database Management Seventh Edition
Using Special Operators (LIKE and IN)
Concepts of Database Management Seventh Edition
Introduction to Computers Lesson 10B. home Database A collection of related data or facts.
Introduction to Computers Lesson 10B. home Database A collection of related data or facts.
Chapter 9 Query-by-Example Pearson Education © 2009.
Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
3 / 12 CHAPTER Databases MIS105 Week-10/ Lec02 Irfan Ahmed Ilyas.
CPSC 203 Introduction to Computers Lab 60 By Jie Gao.
Concepts of Database Management Seventh Edition Chapter 3 The Relational Model 2: SQL.
1 2 Concepts of Database Management, 4 th Edition, Pratt & Adamski Chapter 2 The Relational Model 1: Introduction, QBE, and Relational Algebra.
Mr C Johnston ICT Teacher
MGS 351 Introduction to Management Information Systems Recitation 4.
The Rent-A-Dress Database
CPSC 203 Introduction to Computers Lab 21 By Jie Gao.
Chapter 4 Relational Database, Pivot Charts, and Switchboard.
Chapter 3: Relational Databases
Hoi Le. Why database? Spreadsheet is not good to: Store very large information Efficiently update data Use in multi-user mode Hoi Le2.
Concepts of Database Management, Fifth Edition Chapter 3: The Relational Model 2: SQL.
Management Information Systems by Prof. Park Kyung-Hye Chapter 7 (8th Week) Databases and Data Warehouses 07.
1 Database Systems Introduction to Microsoft Access Part 1.
Exploring Microsoft Access 2003
©2005 The McGraw-Hill Companies, All rights reserved McGraw-Hill/Irwin
CIS 336 AID Your Dreams Our Mission/cis336aid.com
Databases – Exam questions
Exploring Excel Chapter 5 List and Data Management: Converting Data to
IS 130 Information systems 1
Exploring Microsoft Office Access 2007
Exploring Microsoft Access 97
Database Systems Chapter 3 1.
Software Specification Tools
Chapter Ten Managing a Database.
CIS 207 The Relational Database Model
Exploring Microsoft Office Access 2007
CIS 336 str Competitive Success/snaptutorial.com
CIS 336 Competitive Success/snaptutorial.com
CIS 336 str Education for Service- -snaptutorial.com.
CIS 336 Education for Service-- snaptutorial.com.
CIS 336 STUDY Lessons in Excellence-- cis336study.com.
CIS 336 Teaching Effectively-- snaptutorial.com
CIS 336 str Teaching Effectively-- snaptutorial.com.
MS Access: Using Advanced Query Features
Test Review Exam 1: Prof. Manni
Entity-Relationship Diagram (ERD)
Chapter 9 Query-by-Example Pearson Education © 2009.
Microsoft Access Validation Rules, Table Relationships And
ICT Database Lesson 2 Designing a Database.
Grauer and Barber Series Microsoft Access Chapter Two
Query-by-Example Transparencies
G061 - Data Dictionary.
Chapter 2 Design Table and Form.
Chapter 2 Design Table and Form.
Information system analysis and design
Presentation transcript:

BUS2206 Access Lab Queries Second Term, 2018-19

Part I Introduction

Introduction (Based on the Lab Textbook) Creating Table (P. 13 – P. 17) Database schema Tables relationships (P. 20 – P. 22) Creating Queries (P. 17 – P. 37) QBE (Query By Example) Creating Reports (P. 37 – P. 42) Creating Forms (P. 46 – P. 48) For input control based on Tables and Queries

The Schema and Metadata Chapter 7 The Schema and Metadata Schema: a plan that describes the structure of the database, including: Names and sizes of fields Identification of primary keys Relationships Data dictionary: a repository of information about the data and its organization Also called metadata: the data about the data

Employee Table Data Dictionary

Wage Table Data Dictionary

Hours Worked Table Data Dictionary Composite Key

“Date” Input Mask Example Date format is Medium Date, such as: 04-Oct-16 In order to ensure the input date is in correct format, access uses input mask to control the input data: 00\->L<LL\-00;0;_ Where, 0 is a mandatory digit; L must be a letter; > converts letter to upper case and, < converts letter to lower case; \ keep the next character as it is.

Enter Data for Tables

Chapter 7 Data Modeling Databases must be carefully planned and designed to meet business goals Data modeling: analysis of an organization’s data and identification of the data relationships. It develops a conceptual blueprint of the database. Entity relationship diagram: a graphical representation of all entity relationships

Data Modeling (continued) Chapter 7 Data Modeling (continued) One-to-many relationship Many-to many-relationship

Create Table Relationships in Access One-to many-relationship One-to-one relationship

Part II Queries

Create Query: Hourly Pay Employees (1)

Create Query: Hourly Pay Employees (2)

Query: New Hourly Pay Rate (1) P.17

Create Query: New Hourly Pay Rate (2)

Create Query: Join Two Tables (1)

Query: Join Two Tables (2)

Query: Citizen Hourly Pay (1) P.20

Create Query: Citizen Hourly Pay (2)

Query: Calculate Wages Pay in Week 2 (1) P.21

Query: Calculate Wages Pay in Week 2 (2)

Query: Count number employees (1) P.22 Step 2 Step 1 Step 3

Query: Calculate Wages Pay (2)

Better Title for Calculate Wages Pay (3)

“Total” Field Summary P.22

Query: Average Hourly Wage (1) P.25

Query: Average Hourly Wage (2)

Query of a query: New Avg Rate (1) P.26

Query of a query: New Avg Rate (2) Calculated Field Select a query

Query of a query: New Avg Rate (3)

Query of a query: New Avg Rate (4)

Query: Date() Function (1) P.27

Query: Date() Function (2)

A new Table for Time Arithmetic(1) P.28

A new Table for Time Arithmetic(2) P.28

Query: Calculate Hours Worked (1) P.29 P.29 on why * 24

Query: Calculate Hours Worked (2)

Query: Update Records (1) P.30

Query: Update Records (2)

Query: Delete a Record (1) P.32

Query: Delete a Record (2)

Query: Delete a Record (3)

Parameter Query (1) P.32

Parameter Query ()

Query Exercise 1 P.33

Query Exercise 2 P.34

Query Exercise 3 P.35

Query Exercise 4 P.35

Query Exercise 5 P.36

Query Exercise 6 P.36

End of Access Query Lab