Relationship and Query Assignment. Creating Relationship Assignment: Create a blank database (use any names you like) And then, import the three Excel.

Slides:



Advertisements
Similar presentations
Relational Database Systems Higher Information Systems Advanced Implementation in Microsoft Access.
Advertisements

Microsoft Access 2 Database Creation and Management.
Step By Step Lei Yang Computer Science Department.
Microsoft Access 3 Database Creation and Management.
Database Creation and Management
Microsoft Access 4 Database Creation and Management.
Tutorial 3 Queries and Table Relationships
Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 4 – Finding and Ordering Data.
Introduction to MS Access, building tables, creating keys, creating relationships BSAD 141 Dave Novak.
Microsoft Access 3 Database Creation and Management.
Maintenance Modifying the data –Add records –Delete records –Update records Modifying the design –Add fields into tables –Remove fields from a table –Change.
Creating a Users Table The users table contains a list of your site’s authorized users, logins, and passwords.
Introduction to Databases CIS 5.2. Where would you find info about yourself stored in a computer? College Physician’s office Library Grocery Store Dentist’s.
FIRST COURSE Access Tutorial 2 Building a Database and Defining Table Relationships.
Database Relationships Objective 5.01 Understand database tables used in business.
Define Table Relationships—1 of 3 One of the most powerful features of a relational database management system, such as Access, is its ability to define.
Page 1 ISMT E-120 Introduction to Microsoft Access & Relational Databases The Influence of Software and Hardware Technologies on Business Productivity.
ACCESS TABLES & QUERIES. OBJECTIVES Create tables Establish table relationships Create queries Specify criteria for different data types Compact & Repair.
Microsoft Access 2013 Build User-Friendly Database Systems Chapter 7.
Database Creation and Management
Microsoft Access – Tutorial 3
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.
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
Microsoft Access 2 Database Creation and Management.
Microsoft Access 3 Database Creation and Management.
® Microsoft Office 2013 Access Building a Database and Defining Table Relationships.
® Microsoft Office 2010 Access Tutorial 2 Building a Database and Defining Table Relationships.
Database Normalization Lynne Weldon July 17, 2000.
Relationships and Advanced Query Concepts Using Multiple Tables Please use speaker notes for additional information!
Access: Queries Ad-hoc Reporting Chapter T. Access Queries Queries Access Properties Sorting Selection Criteria Calculations.
Press Esc to Exit ©2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in.
® Microsoft Office 2010 Building a Database and Defining Table Relationships.
Querying a Database - A question or an inquiry (dictionary.com) - WHAT ARE WE ASKING QUESTIONS ABOUT? THE DATA - BY ASKING QUESTIONS OF THE DATA WE OBTAIN?
Part II. Query Types On the design query table pane, right click and the cascading window will appear.
Databases,Tables and Forms Access Text by Grauer Chapters 1 & 2.
1 Database Systems Introduction to Microsoft Access Part 2.
26 Mar 04 1 Application Software Practical 5/6 MS Access.
22 November Databases. Presentations Tega: news 1954 Prediction.
1 ∞∞ ∞. Has referential data integrity been violated between any of the tables? If so, name the orphans. Yes, referential data has been violated.
DAY 15: ACCESS CHAPTER 1 Rahul Kavi October 6,
Tutorial 4 Forms and Reports Review Assignment pp 4.34 to 4.35.
1 PROJECT 9 DATABASE FORMS AND REPORTS Management Information Systems, 9 th edition, By Raymond McLeod, Jr. and George P. Schell © 2004, Prentice Hall,
Microsoft Access 4 Database Creation and Management.
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.
DAY 16: MICROSOFT ACCESS – CHAPTER 2 Madhuri Siddula October 8, 2015.
ACIS Introduction to Data Analytics & Business Intelligence Ad-hoc Reporting Query Basics.
1 MS Access. 2 Database – collection of related data Relational Database Management System (RDBMS) – software that uses related data stored in different.
Access Chapter 1: Intro to Access Objectives Navigate among objects in Access database Difference between working in storage and memory Good database file.
1 PROJECT 10 DATABASE QUERIES— TEXTBOOK DATABASE Management Information Systems, 9 th edition, By Raymond McLeod, Jr. and George P. Schell © 2004, Prentice.
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.
The Rent-A-Dress Database
Classwork: Common Errors Primary keys: don’t forget them! Primary keys: choose the best one! – “Name” and “birthday” are not the best choices. – “Phone.
USING ACCESS TO SEGMENT SURVEY DATA. OPEN ACCESS You May Need to Search for the Program You May Need to Search for the Program Access is a Database Access.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 1 ® Database & Table.
Database Relationships Objective 5.01 Understand database tables used in business.
DAY 17: ACCESS CHAPTER 1-2 Rahul Kavi October 15,
Access Module Implementing a Database with Microsoft Access A Great Module on Your CD.
 A collection of data organized in a way that allows:  Easy access  Easy retrieval of specific data  Easy use of the data.
Paul A. Harris, Ph.D. Director, GCRC Informatics How to use query function in Microsoft Access.
Relational Databases Today we will look at: Different ways of searching a database Creating queries Aggregate Queries More complex queries involving different.
Access Tutorial 2 Building a Database and Defining Table Relationships
Importing CSV Make sure all currency values are in Pounds (£) to two decimal places. All dates to appear in the medium format: DD/MM/YYYY Using a suitable.
Calculated Fields Exercises Queries
Microsoft Office Illustrated Fundamentals
Integrating Word, Excel, and Access
Generalization.
Grauer and Barber Series Microsoft Access Chapter One
Nagendra Vemulapalli Access chapters 1&2 Nagendra Vemulapalli
Presentation transcript:

Relationship and Query Assignment

Creating Relationship Assignment: Create a blank database (use any names you like) And then, import the three Excel Worksheets (Course, Instructor, and Membership) from the class web site into your Access database. Define each imported table’s primary key using information below: Course table: Class_Number Instructor table: Employee_Number Membership table: Member_Number

Creating Relationship Assignment: Establish relationship based on common fields. And enforce referential integrity (apply both options) among three imported tables

Query Assignment Download a database: “Roadrunner” I would like to have a query that includes following fields; Employee Number, Instructor Last Name, Instructor First Name, Course Name and Time. Save as Your Course Info. I would like to have a query that ONLY includes the male members who live in Burbank using following fields; First Name, Last Name, Gender, City, and State. Save as Males in Burbank.

Query Assignment I would like to know a list of all members whose last name begins with P using following fields; First Name, Last Name, City, and State. Save as Last Names begin with P.

Query Assignment I would like to know ONLY the Employee Number, Instructor Last name, Instructor First name, and the Salary Amount for only those employees who make between $39,500 and $55,000. In addition, the resulting salaries must also be placed in order from high salary to low salaries. Save as Between Salaries.

Query Assignment I would like to know the Class Number, Last Name, and Member Number for each member who has a class number greater than or equal to In addition, sort last names in ascending order. Save as Greater than or equal to 8900.

Query Assignment I would like to know a list of all members whose last name that begins with A or a first name that begins with R including the following fields: First Name, Last Name, City, and State. Save as Names with A or R.

Query Assignment I would like to know an instructor who teaches handball and students who are taking handball course. Following fields must be appear on the query: Instructor First Name, Instructor Last Name, Course Name, Member Last Name and Member First Name. In addition, the member last names should be sorted in alphabetical order. Save as Handball Listing

Query Assignment I would like to know a whole list of the Instructor Last name, Instructor First name, and the Salary Amount. Since instructors have worked hard, I would like to increase their salary by 15%. So, I’d like to calculate 15% salary increase for each instructor. Save as Salaries Increase