CSC321: Database Management Systems Dr. Zhen Jiang Computer Science Department West Chester University West Chester, PA 19383.

Slides:



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

Database Design Week 10.
Computer Concepts BASICS 4th Edition
Microsoft Office 2007 Access Chapter 3 Maintaining a Database.
© 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.
Concepts of Database Management Seventh Edition
Concepts of Database Management Sixth Edition
Exploring Microsoft Excel 2002 Chapter 7 Chapter 7 List and Data Management: Converting Data to Information By Robert T. Grauer Maryann Barber Exploring.
Microsoft Excel Working with Excel Lists, Subtotals and Pivot Tables.
Exploring Microsoft Access 2003 Chapter 1 Introduction to Microsoft Access: What Is A Database?
The University of Akron Dept of Business Technology Computer Information Systems The Relational Model: Query-By-Example (QBE) 2440: 180 Database Concepts.
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
Concepts of Database Management Sixth Edition
Microsoft Access 2010 Chapter 7 Using SQL.
Business Computer Information Systems Microsoft Office XP Access Review Lessons 1 through 5.
Chapter 2 Querying a Database
Chapter 2 Querying a Database MICROSOFT ACCESS 2010.
Microsoft Access 2010 Chapter 7 Using SQL. Change the font or font size for SQL queries Create SQL queries Include fields in SQL queries Include simple.
With Microsoft Office 2007 Introductory© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Introductory.
Dr. Zhen Jiang Computer Science Department West Chester University
Exam Review – Queries & MORE! Access SimNet Exam Access Case Exam Final Exam.
Exploring Office Grauer and Barber 1 Introduction to Access: What is a Database?(Wk1)
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 4 BACKNEXTEND 4-1 LINKS TO OBJECTIVES Query Design Query Criteria Modify a Query Using OR.
McGraw-Hill Technology Education © 2004 by the McGraw-Hill Companies, Inc. All rights reserved. Office Access 2003 Lab 3 Analyzing Data and Creating Reports.
Microsoft Access 2010 Building and Using Queries.
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.
Microsoft Office 2007 Access Chapter 2 Querying a Database.
Relational Databases (MS Access)
CSC141 Computer Science I Zhen Jiang Dept. of Computer Science West Chester University West Chester, PA 19383
Concepts of Database Management Seventh Edition
Concepts of Database Management Seventh Edition
Database Systems Microsoft Access Practical #3 Queries Nos 215.
Microsoft Access 2007 Tutorial (Part II) CIS*1000*DE.
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.
1 Committed to Shaping the Next Generation of IT Experts. Chapter 1- Introduction to Access: What is a Database? Robert Grauer and Maryann Barber Exploring.
Exploring Microsoft Access Chapter 1 Introduction to Microsoft Access: What Is A Database?
Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter.
Concepts of Database Management Eighth Edition Chapter 3 The Relational Model 2: SQL.
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
Concepts of Database Management Seventh Edition Chapter 3 The Relational Model 2: SQL.
G042 - Lecture 12 Using Local Databases Mr C Johnston ICT Teacher
Lesson 13 Databases Unit 2—Using the Computer. Computer Concepts BASICS - 22 Objectives Define the purpose and function of database software. Identify.
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.
Filters, Queries and Reports. Filters Limit the data, creating a dataset, or partial view of the whole database Single use – filters do not save with.
VOCAB REVIEW. A field that can be computed from other fields Calculated field Click for the answer Next Question.
Database (Microsoft Access). Database A database is an organized collection of related data about a specific topic or purpose. Examples of databases include:
Concepts of Database Management, Fifth Edition Chapter 3: The Relational Model 2: SQL.
CST221: Database Systems (II)
Database Essentials Access Lesson 1.
CSC321: Database Management Systems
Exploring Excel Chapter 5 List and Data Management: Converting Data to
Maintaining a Database
Access Chapter 2 Querying a Database.
Dr. Zhen Jiang Computer Science Department West Chester University
Querying a Database Using the Select Query Window
Database Essentials Access Lesson 1.
Building and Using Queries
CSC141 Computer Science I Zhen Jiang Dept. of Computer Science
CST221: Database Systems (III)
CSC115 Introduction to Computer Programming
Shelly Cashman: Microsoft Access 2016
Presentation transcript:

CSC321: Database Management Systems Dr. Zhen Jiang Computer Science Department West Chester University West Chester, PA 19383

Why this class? ◦ Job hunting  WCU graduated, Database, Software Engineering, … vs.  UPenn, Temple, Drexel, … ◦ Something help you to stand out! — How do you like to be introduced?

◦ Research project  Critical thinking, communication, well-plan, etc.  Real competition, deadline, pressure  More realistic system, complex programming, for instance, ◦ Student opportunities: ◦ Sponsorship  NSF, NSA, etc  Industry interns

NSF REU Collaborative work at inter- department level Collaboration at inter-disciplinary level Course project Collaboration at international level

 Industry partners Such as Gnostech, Chase, etc. Invited talks in courses Seminars or guest speeches Curriculum review/assessment Permanent intern opportunities

Competitive students entrepreneurially and computationally empowered citizenries Temple, NYU, etc. IBM, SAP, Vanguard, Bell lab, etc. Attract students and keep them continuously working hard Real-world computing paradigms and principles in an obstacle-less learning

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!

Database, Database management system, and Access Shelly, Cashman, Pratt, “Microsoft Office Access 2007 Comprehensive Concepts and Techniques”, Course Technology

Access   … 

Input each piece of information manually

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

Database Systems & Access Page: AC14 Page: AC44 Exercise 1: ab1.doc ab1.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 Join table, page AC103 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 Calculated field, page AC 113 Calculating Statistics (built-in statistics, group), page AC 117

Exercise 2: ab2.doc ab2.doc

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

Hidden column for criteria (not displayed in the list)

Wildcard (*, ?), such as “Ber*” in City field Use criteria for a field not included in the result list, disabled show property One table, decide it early and add all fields at the beginning Comparison Operator, such as >10000 in amount paid field Compound criterion (AND => 1 row, OR => another row) Sorting Omitting duplicates, “unique record” in property sheet Multiple keys (high priority from left to right) Top-value query, “return” in top design view (very early stage) Calculated field, “zoom” in shortcut menu (e.g., type “Total Amount:[Amount Paid]+[Current Due]”) Calculating Statistics (built-in statistics, “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 in the ascending order

Hidden column for criteria (not displayed in the list)

List all different Dnum, without duplicates.

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.

Joint table (AC ) Dept DnumDnameCity D22Web WC D25Databases NY D28Software LA Emp EnumLNameagesalaryDnumwYears E101Jones45$56,000.00D2512 E202Anders66$46,000.00D2225 E303Smith34$25,000.00D229 E404Rivera22$30,000.00D251 E505Brown45$80,000.00D2517 E606Caldwell52$70,000.00D2820 E707Stiles44$65,000.00D2811 E808Walker48$90,000.00D2221 E909Hartman20$25,000.00D281 E222Carter29$35,000.00D253

For each employee, print out the department name.

Statistics of an group ◦ Exercise 3: doc doc

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

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

Still sounds incorrect!

Join Table (AC 105)

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

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

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