Professional Documents
Culture Documents
edu
Office of Communications
Introduction to MIS
Access Case Study
YeongIn Kim
create your future www.utdallas.edu
Homework requirements
Submit two things:
access with queries
excel with Pivot tables and Pivot charts
Submit through elearning (by December 8, Sunday)
2
create your future www.utdallas.edu
Six tables
3
create your future www.utdallas.edu
Six tables
4
create your future www.utdallas.edu
Relations
5
Customer---sales orders: custid---?
Product ----sales orders: productid---?
Sales orders ---employee: salesrep---?
Department---employee: departmentid---?
Region---employee:regionid---?
create your future www.utdallas.edu
Relationships
Select Relationships in Database Tools
Tab.
All tables are visible.
create your future www.utdallas.edu
Relationships
Select appropriate columns.
Drag the primary key from one table and
drop it on the other.
create your future www.utdallas.edu
Set relationships
8
create your future www.utdallas.edu
Query
Step1 Select Query Design in Create
tab.
create your future www.utdallas.edu
Query
Step 2 Select the required tables.
create your future www.utdallas.edu
Query
Step3 select Table name.
Step 4 then, select Field name.
create your future www.utdallas.edu
Query
Step 5 Add any criteria if required.
Step 6 Click Run.
create your future www.utdallas.edu
Example Query 1
13
Q1: list all employees in the organization. List: employee ID,
employee first name, employee last name, employee address,
employee salary, department name, and region name.
create your future www.utdallas.edu
Example Query 2
14
Q2: Display:employee ID, sales rep first name, sales rep last
name, sales rep address, sales rep salary, sales rep department
name, sales rep region name.
create your future www.utdallas.edu
Example Query 5
15
Q5: list all the products purchased by Jason Witten on July 14
th
,
2010. Display: PO Date, order ID, customer ID, customer first
name, customer last name, product ID, product description,
quantity sold, and unit price
create your future www.utdallas.edu
Something useful in Query
16
Show all the data in Sep 2010
like 9/*/2010
Equal: show all the data on 8/1/2010
#8/1/2010#
Order : click sort, and then choose ascending or decending
create your future www.utdallas.edu
Export data
create your future www.utdallas.edu
Pivot Table
Step 1 Select Pivot Table.
create your future www.utdallas.edu
Pivot Table
Step 2 in the field Table/Range, put
the entire range of data.
Step 3 Select New Worksheet.
create your future www.utdallas.edu
Pivot Table
Step 4 Select required fields.
create your future www.utdallas.edu
Example Pivot Table 1
1 Create a new column to compute the
total sales amount.
2 Create a new column to display the
customers full name
=CONCATENATE(C2," ",D2)
create your future www.utdallas.edu
Example Pivot Table 1
3 Create pivot table, and then drag
description to column labels
create your future www.utdallas.edu
Example Pivot Table 1
4 Sort by total sales amount
create your future www.utdallas.edu
Pivot Chart
Step 1 Create pivot table
Step 2 Go to option, then choose pivotal
chart
create your future www.utdallas.edu
Example Pivot Table 4
1 Create month column
=MONTH(B2)
2 Create pivot table
3 Click Column Lables,
then choose four columns
4 Create pivot chart
create your future www.utdallas.edu
TA Session
YeongIn Kim
Office hour:
2.711 Excel Lab
Fri 15:00-17:00
Sat 13:00-15:00
1.406 at the library (by appointment)
Email: Yeongin.Kim@utdallas.edu
Start early as possible!
26