Dr. Zhen Jiang Computer Science Department West Chester University

Slides:



Advertisements
Similar presentations
CST221: Database Systems (II) Dr. Zhen Jiang Computer Science Department West Chester University West Chester, PA
Advertisements

Computer Concepts BASICS 4th Edition
© 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 Excel 2002 Chapter 7 Chapter 7 List and Data Management: Converting Data to Information By Robert T. Grauer Maryann Barber Exploring.
Microsoft Office 2007 Access Chapter 2 Querying a Database.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 2 Querying a Database Using the Select Query Window.
XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Analyzing Data For Effective Decision Making.
Querying a Database Using the Select Query Window
Staff Development Daze June 27 & 28 Tony Gauvin. Schedule  Monday June 27  Monday June 27  9:00 – 12:00 Basic Excel  12:00 – 1:00 Lunch for all workshop.
Chapter 2 Querying a Database
Microsoft Access 2010 Chapter 7 Using SQL.
Chapter 2 Querying a Database
Chapter 2 Querying a Database MICROSOFT ACCESS 2010.
With Microsoft Office 2007 Introductory© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Introductory.
Excel Projects 5 & 6 Notes Mr. Ursone. Excel Project 5: Sorting a List  Sorting: Arranging records in a specific sequence  The Sort command is on the.
Dr. Zhen Jiang Computer Science Department West Chester University
CSC115: Matlab Special Session Dr. Zhen Jiang Computer Science Department West Chester University.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 4 BACKNEXTEND 4-1 LINKS TO OBJECTIVES Query Design Query Criteria Modify a Query Using OR.
Microsoft Access Lesson 1 Lexington Technology Center February 11, 2003 Bob Herring On the Web at
Analyzing Data For Effective Decision Making Chapter 3.
Chapter 19 Managing Worksheet Lists. Creating Lists ► Microsoft Office Excel 2003 is inarguably the most powerful electronic spreadsheet available. ►
CSC 545: Database Systems Dr. Zhen Jiang Computer Science Department West Chester University.
CSC321: Database Management Systems Dr. Zhen Jiang Computer Science Department West Chester University West Chester, PA
1 By: Nour Hilal. Microsoft Access is a database software where data is stored in one or more Tables. A Database is a group of related Tables. Access.
Microsoft Office 2007 Access Chapter 2 Querying a Database.
CSC141 Computer Science I Zhen Jiang Dept. of Computer Science West Chester University West Chester, PA 19383
Concepts of Database Management Seventh Edition
Microsoft Office 2007 Intermediate© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! With Microsoft ® Office 2007 Intermediate Chapter.
Key Applications Module Lesson 21 — Access Essentials
Database Systems Microsoft Access Practical #3 Queries Nos 215.
Querying a Database Access Project 2. 2 What is a Query?  In general, a query is a form of questioning, in a line of inquiry. A query may also refer.
Database Applications – Microsoft Access Lesson 4 Working with Queries 36 Slides in Presentation.
Reports and Queries Chapter 3 – Access text Reports – Page Queries – Page
CSC 142 Computer Science II Zhen Jiang West Chester University
CREATING DATABASE Presenter: Jolanta Soltis. When to use Excel Use Excel when you: –Require a flat or non-relational view of your data (you do not need.
Lesson 13 Databases Unit 2—Using the Computer. Computer Concepts BASICS - 22 Objectives Define the purpose and function of database software. Identify.
Microsoft® Excel Create an Excel table. 1 Work with the Table Tools Design tab. 2 Sort and filter records in a table. 3 Identify structured references.
Microsoft Office 2013 Try It! Chapter 4 Storing Data in Access.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 2 Querying a Database Using the Select Query Window.
Microsoft Access By Ritesh Sharma. Introduction Microsoft Access is a desktop database program that enables you to enter, store, analyze,and present data.For.
Microsoft ® Excel ® 2013 Enhanced Tutorial 5: Working with Excel Tables, PivotTables, and PivotCharts.
VOCAB REVIEW. A field that can be computed from other fields Calculated field Click for the answer Next Question.
Access Lessons 1, 2 and 3 ©2009 M and K Solutions, LLC – All Rights Reserved.
Database (Microsoft Access). Database A database is an organized collection of related data about a specific topic or purpose. Examples of databases include:
CST221: Database Systems (II)
Database Essentials Access Lesson 1.
CSC321: Database Management Systems
Exploring Excel Chapter 5 List and Data Management: Converting Data to
Queries.
Microsoft Office Illustrated Introductory, Windows Vista Edition
Access Chapter 2 Querying a Database.
Plug-In T7: Problem Solving Using Access 2007
Querying a Database Using the Select Query Window
Database Essentials Access Lesson 1.
Microsoft Office Illustrated Fundamentals
Building and Using Queries
CSC141 Computer Science I Zhen Jiang Dept. of Computer Science
CST221: Database Systems (III)
CSC115 Introduction to Computer Programming
Database Applications – Microsoft Access
Microsoft Excel 101.
Access Tutorial 5 Creating Advanced Queries and Enhancing Table Design
Microsoft Office Access is the best –selling personal computer database management system. What is Access?
Access Test Questions Test Date: 05/05/16.
Grauer and Barber Series Microsoft Access Chapter One
Microsoft Office Illustrated Introductory, Windows XP Edition
Spreadsheets and Data Management
Microsoft Access Tips and Tricks
Shelly Cashman: Microsoft Access 2016
Lesson 13 Working with Tables
Presentation transcript:

Dr. Zhen Jiang Computer Science Department West Chester University CSC 545: Database Systems Dr. Zhen Jiang Computer Science Department West Chester University

Class information Website www.cs.wcupa.edu/~zjiang/csc545index.htm

Why this class? Job hunting Something help you to stand out! WCU graduated, Database, Software Engineering, … vs. Undergraduates UPenn, Temple, Drexel, … Something help you to stand out!

Research project Critical thinking, communication, well-plan, etc. Real competition, deadline, pressure More realistic system, complex programming, for instance, http://www.cis.temple.edu/~jiang/RSU_van.pptx. Student opportunities: http://www.cs.wcupa.edu/~zjiang/student_info.htm Sponsorship NSF, NSA, etc Industry interns

No pain, no gain Need to handle those things coming from pressure: frustration, upset, madness, etc. Looking for solution, not excuse. Deadline!

Class website (including ppt)+ google search Hands-on experience Group discussion Happy ending!

How do you like to be introduced? No pain, no gain Happy ending Need to handle those things coming from pressure: frustration, upset, madness, etc. Looking for solution, not excuse. Deadline!

Where do you find data? Share the experience of data processing: Word, Power point, Excel, IE, and etc.

Word <Insert> <Copy> & <Paste> <Ctrl><p> <Symbol> ≥  <Copy> & <Paste> <Ctrl> <c>  <Ctrl> <v> <PrtSc> & <Alt> <PrtSc>  <Ctrl> <v> <Ctrl><p> Summer Training on Computer Science, WCU

Power Point ! <Insert> <Date and Time> Summer Training on Computer Science, WCU

<Slide Show> <Custom Animation>, <Add Effect>, <Motion Path> ! Summer Training on Computer Science, WCU

Excel Document resource: www.cs.wcupa.edu/~zjiang/summer07_student_grade_sample.xls. =average(c6:c28) Another well used function: SUM ! Summer Training on Computer Science, WCU

! <Insert> <Chart> Summer Training on Computer Science, WCU

<view> <freeze panes> B2, $b$2

Data preparation

IE Summer Training on Computer Science, WCU

Summer Training on Computer Science, WCU

Summer Training on Computer Science, WCU

What do we do with data? Exercise 1 http://www.cs.wcupa.edu/~zjiang/545_data.pdf Data curving 2D 3D surface Data extraction and recreation Data search

More efficient manner to store, search, and display the data! Conditional search Wildcard match

Database Systems & Access Is PC more popular? What is you laptop brand? What OS is installed, Linux or Windows? Access

Access <Start>  <All program>  …  <Microsoft Office Access 2007>

Input each piece of information manually

Design view to change the format type (especially useful for currency and date input)

Database Systems & Access Page: AC14 Page: AC44 Exercise 1: http://www.cs.wcupa.edu/~zjiang/csc545_lab1.doc

Creating a report Report wizard, page AC50-AC56

Input & Output Load/import data from external resource, Page AC211

Plain text file

Excel file (xls or xlsx)

Querying Creation (Query wizzard) Save Use

Wildcard (*, ?), page AC87 Use criteria for a field not included in the result list, page AC88 Parameter Query, page AC89 Comparison Operator, page AC94 Compound criterion (AND, OR), page AC 95 Sorting, page AC97 Omitting duplicates, page AC 100 Multiple keys (high priority from left to right), page AC101 Top-value query, page AC 102 Multiple table, page AC103 Calculated field, page AC 113 Calculating Statistics and Aggregate Values, page AC 117

Show the name and age and salary of all employees who are younger than 25.

Double click the items to include in the list

Add criteria to meet the certain requirement

Datasheet view Design view

Comparison Operator, such as <25 in age field Wildcard (*, ?), such as “B*”, “*m*”, “*s”, and “S????” in LName field Compound criterion (AND => same row, OR => different rows) Sorting (By default, it is sorted in ascending order) Use criteria for a field not included in the result list, disabled show property Multiple keys (high priority from left to right) Top-value query, “return” in top design view Parameter Query, “[ ]” in dnum field, or any name that has not been used as column names (possiblily a misspelled column name) Calculated field, “zoom” in shortcut menu (e.g., “Total Amount:[Amount Paid]+[Current Due]”) Calculating Statistics (built-in statistics) Multiple table, share field Aggregations (statistics with “group by”)

Show the Enum, name, salary of all employees whose names have 5 letters.

Show the name, Enum ,salary, and age of all employees with a salary > $40,000 AND younger than 25

Show the Enum of all employees sorted by salary (i. e Show the Enum of all employees sorted by salary (i.e., in the ascending order by default)

Hidden column for criteria (not displayed in the list)

Q4 Enum E909 E303 E404 E222 E202 E101 E707 E606 E505 E808

Show the Enum of all employees sorted by salary (in ascending order) and LName (in descending alphabetical order)

Which? Q4 Enum E909 E303 E404 E222 E202 E101 E707 E606 E505 E808 Q4

List top 5 high paid employees.

List the LName of all employees in the department (Dnum) entered by the user.

List the LName of all employees with a new column labeled “hiring age”, which has a value by subtracting the years of working (wYears) from the current age (age).

List the max, min, and average of salary for all employees.

Multiple table (AC 105-109) Emp Dept Enum LName age salary Dnum wYears Jones 45 $56,000.00 D25 12 E202 Anders 66 $46,000.00 D22 25 E303 Smith 34 $25,000.00 9 E404 Rivera 22 $30,000.00 1 E505 Brown $80,000.00 17 E606 Caldwell 52 $70,000.00 D28 20 E707 Stiles 44 $65,000.00 11 E808 Walker 48 $90,000.00 21 E909 Hartman E222 Carter 29 $35,000.00 3 Dept Dnum Dname City D22 Web WC D25 Databases NY D28 Software LA

Multiple tables and aggregations (statistics with group) Exercise 2: http://www.cs.wcupa.edu/~zjiang/csc545_lab2.docx

For each employee, print out his/her name and the department name.

Calculation of aggregate values (aggregations, statistics with grouping)

Show the average age (label as “average age”) and average salary (label as “average salary”) for all employees

For all employees under 30, show a count of these employees and their average salary.

Show the max, min and average age for all employees in Dept “Software”

Multiple tables are needed!

Still sounds incorrect!

For all employees in department “D22” or “D28”, show a count of these employees, their average age, and maximum salary

What will be the result?

For each department list avg, max and min age, along with a count of employees in each department.

For each department find a count and average salary for all employees younger than 40.

For each department with an average salary of >40000 list the dnums, employee count for these departments.

For each department with less than 4 employees, show the average age and number of employees.  

For each department with more than 2 people over 40 list deptNum, and a count of these people.

Project 1 Submit accdb file.

Maintenance Record addition, page AC 144 Search, page AC 145 Record update, page AC 147 Record deletion, page AC 148 Filter, page AC 149