Chapter 1 Introduction to Premiere Products and Henry Books

Slides:



Advertisements
Similar presentations
Multiple Table Queries
Advertisements

System Design System Design - Mr. Ahmad Al-Ghoul System Analysis and Design.
Jewelry Inventory Management Software Your Logo Here Welcome to a demonstration of Del Mar Data Systems Jewelry Inventory Management.
Concepts of Database Management Seventh Edition Chapter 3 The Relational Model 2: SQL.
Chapter 8 Embedded SQL.
Exploring Microsoft Access 2003 Chapter 1 Introduction to Microsoft Access: What Is A Database?
Concepts of Database Management Sixth Edition
SQL – Part II Yong Choi School of Business CSU, Bakersfield.
1 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski Chapter 1 Introduction to Database Management.
©2003 Prentice Hall Business Publishing, Accounting Information Systems, 9/e, Romney/Steinbart 18-1 Accounting Information Systems 9 th Edition Marshall.
A Guide to SQL, Seventh Edition. Objectives Introduce Premiere Products, a company whose database is used as the basis for many of the examples throughout.
A Guide to MySQL 7. 2 Objectives Understand, define, and drop views Recognize the benefits of using views Use a view to update data Grant and revoke users’
Concepts of Database Management Seventh Edition Chapter 1 Introduction to Database Management.
Concepts of Database Management Seventh Edition
A Guide to SQL, Seventh Edition. Objectives Understand, create, and drop views Recognize the benefits of using views Grant and revoke user’s database.
Chapter 3: SQL – Part I Yong Choi School of Business CSU, Bakersfield.
8/28/97Information Organization and Retrieval Database Design University of California, Berkeley School of Information Management and Systems SIMS 202:
Case study Lisa’s Bookstore IST210.
1 Nassau Community CollegeProf. Vincent Costa Acknowledgements: Introduction to Database Management, All Rights ReservedIntroduction to Database Management.
Concepts of Database Management Seventh Edition Chapter 1 Introduction to Database Management.
Concepts of Database Management Seventh Edition
Concepts of Database Management, Fifth Edition Chapter 1: Introduction to Database Management.
A Guide to SQL, Eighth Edition 1 Chapter One Introduction to Premiere Products, Henry Books, and Alexamara Marina Group.
Concepts of Database Management Eighth Edition
A Guide to SQL, Eighth Edition Chapter Two Database Design Fundamentals.
MICROSOFT ACCESS Database Applications. Database Management System A database is a collection of organized data whose elements are in some way related.
Concepts of Database Management, Fifth Edition Chapter 1: Introduction to Database Management.
Database & Data Warehouse Assignments
Describing Process Specifications and Structured Decisions Systems Analysis and Design, 7e Kendall & Kendall 9 © 2008 Pearson Prentice Hall.
1 A Guide to MySQL 2 Database Design Fundamentals.
Database & Data Warehouse Assignments BCIS 4660 – Dr. Nick Evangelopoulos Spring 2012.
Chapter 6 Database Administration
1 A Guide to MySQL 2 Database Design Fundamentals.
Concepts of Database Management Sixth Edition Chapter 6 Database Design 2: Design Method.
A Guide to MySQL. 2 Objectives Introduce Premiere Products, a company whose database is used as the basis for many of the examples throughout the text.
Chapter 4 Multiple-Table Queries
DATABASE What exactly is a database How do databases work? What's the difference between a spreadsheet database and a "real" database?
Auditing the Revenue Cycle. Learning Objectives After studying this chapter, you should: Understand the operational tasks associated with the revenue.
1 CSE 2337 Introduction to Data Management Textbook: Chapter 1.
Order Entry Program Please see speaker notes for additional information!
Concepts of Database Management Seventh Edition Chapter 1 Introduction to Database Management.
Database Objective Demonstrate basic database concepts and functions.
Chapter 8 Embedded SQL.
Database Fundamentals Objective 5.01: Understand database tables used in business.
Accounting Information Systems: A Business Process Approach Chapter Three: Documenting Accounting Systems.
Key Applications Module Lesson 22 — Managing and Reporting Database Information Computer Literacy BASICS.
A Guide to SQL, Sixth Edition 1 Chapter 5 Updating Data.
Database & Data Warehouse Assignments BCIS 4660 – Dr. Nick Evangelopoulos Spring 2012.
Notes: **A Row is considered one Record. **A Column is a Field. A Database is…  an organized set of stored information usually on one topic  a collection.
Database (Microsoft Access). Database A database is an organized collection of related data about a specific topic or purpose. Examples of databases include:
A Guide to SQL, Eighth Edition 1 Chapter One Introduction to Premiere Products, Henry Books, and Alexamara Marina Group.
A Guide to MySQL.
A Guide to SQL, Seventh Edition
A Guide to SQL, Eighth Edition
Database Fundamentals
GO! with Microsoft Office 2016
GO! with Microsoft Access 2016
Database Fundamentals
Database Fundamentals
Yong Choi School of Business CSU, Bakersfield
A Guide to SQL, Ninth Edition
A Guide to SQL, Eighth Edition
Yong Choi School of Business CSU, Bakersfield
Database Fundamentals
Introduction to Access
A Guide to SQL, Eighth Edition
Accounting Information Systems: A Business Process Approach
Database Fundamentals
Presentation transcript:

Chapter 1 Introduction to Premiere Products and Henry Books

Objectives Introduce Premiere Products, a company whose database is used as the basis for many of the examples throughout the text Introduce Henry Books, a company whose database is used in the case that runs throughout the text

The Premiere Products Database Premiere Products is a distributor of appliances, housewares, and sporting goods It is no longer feasible to maintain customer, order, and inventory data using its current manual system

Benefits of a Computer Database System Ensure that the data is current and more accurate than in the present manual system Produce a variety of useful reports Ask questions concerning the database and obtain answers easily and quickly

Required Data for Sales Reps Number Last name First name Address Total commission Commission rate of each sales rep

Required Data for Customers Customer number Last name First name Address Current balance Credit limit The number of the sales rep who represents the customer

Required Data for Parts Part number Part description Number of units on hand Item class Number of the warehouse where the item is stored Unit price for each part in the inventory

Sample Order

Components of Sample Order Heading (top of the order) contains: Order number and date Customer’s number, name, and address Sales rep number and name Body of the order contains a number of order lines called line items

Components of Sample Order Each order line contains: Part number Part description Number of units ordered Quoted price Total, called ‘extension’ Footing (bottom of the order) contains the order total

Item Information Stored for Each Order Order number, date the order was placed, and the customer number of the customer who placed the order Order number, part number, number of units ordered, and quoted price for each order line

Overall Order Total Overall order total is not stored as part of the database Total order will be computed whenever an order is printed or displayed on the screen

Sample Data for Premiere Products

Sample Data for Premiere Products

Sample Data for Premiere Products

Sample Data for Premiere Products

Sample Data for Premiere Products

Sales Rep Information Three sales representatives identified by numbers Example: Sales Rep Number: 20 Name: Valerie Kaiser Address: 624 Randall, Grove, FL 33321 Total commission: $20,542.50 Commission rate: 5% (.05)

Customer Information Premiere Products has 10 customers who are identified with the numbers 148, 282, 356, 408, 462, 524, 608, 687, 725, and 842 Example: Customer Number: 148 Name: Al’s Appliance and Sport Address: 2837 Greenway in Fillmore, FL 33336 Current Balance: $6,550.00 Credit Limit: $7,500.00 Sales Rep: 20

Part Information There are 10 parts identified by part numbers AT94, BV06, CD52, DL71, DR93, DW11, FD21, KL62, KT03, and KV29 Item class codes are HW (housewares), AP (appliances), and SG (sporting goods)

Part Data Example Example: Part Number: AT94 Part Description: Iron Units on Hand: 50 Item Class: HW (housewares) Warehouse Number: 3 Unit Price: $24.95

Order Information Seven orders identified with the numbers 21608, 21610, 21613, 21614, 21617, 21619, and 21623 Example: Order number: 21608 Order date: October 20, 2003 Customer number: 148 (Al’s Appliance and Sport)

Alternative ORDERS Table Structure

Problem with Alternative ORDERS Table Some of the individual positions within the table contain multiple entries Multiple entries make it difficult to track the information between columns

Practical Issues Raised by a Complex Table How much room do you allow for these multiple entries? What if an order has more order lines than you have allowed for? Given a part, how do you determine which orders contain order lines for that part?

ORDER_LINE Table Advantages No multiple entries Does not matter how many order lines exist for any order Finding all the orders that contain order lines for a given part is easy

Henry Books Database Ray Henry is the owner of a bookstore chain named Henry Books Ray has decided to store his data in a database because he wants to: Ensure that the data is current and accurate Produce several important reports Ask questions concerning the data and obtain answers to these questions easily and quickly

Information Gathered by Henry Books Henry gathers and organizes information about: Branches Publishers Authors Books

Types of Information Each branch has a number that uniquely identifies the branch In addition, Ray tracks the branch’s: Name Location Number of employees

Types of Information Each publisher has a code that uniquely identifies the publisher In addition, Ray tracks the publisher’s: Name City

Types of Information Each author has a number that uniquely identifies the author In addition, Ray records each author’s: Last name First name

Types of Information Each book has a code that uniquely identifies the book For each book, Ray also tracks: Title Publisher Type of book Price Whether the book is a paperback or not

Summary Premiere Products is an organization whose information requirements include the following: Sales representatives Customers Orders Parts Order lines

Summary The database for Henry Books contains the following information: Branches Publishers Books Authors Inventory Author Sequence

SQL Project One Completed Good Luck H. Zamanzadeh