+ All Categories
Home > Documents > Sample casescontents.kocw.net/KOCW/document/2015/korea_sejong/...2 Objectives Introduce Premiere...

Sample casescontents.kocw.net/KOCW/document/2015/korea_sejong/...2 Objectives Introduce Premiere...

Date post: 15-May-2018
Category:
Upload: hatu
View: 217 times
Download: 4 times
Share this document with a friend
22
2 Sample cases
Transcript
Page 1: Sample casescontents.kocw.net/KOCW/document/2015/korea_sejong/...2 Objectives Introduce Premiere Products, the company used as the basis for this course Introduce Henry Books Introduce

2

Sample cases

Page 2: Sample casescontents.kocw.net/KOCW/document/2015/korea_sejong/...2 Objectives Introduce Premiere Products, the company used as the basis for this course Introduce Henry Books Introduce

2

Objectives

Introduce Premiere Products,

♥ the company used as the basis for this course

Introduce Henry Books

Introduce Alexamara Marina Group

Page 3: Sample casescontents.kocw.net/KOCW/document/2015/korea_sejong/...2 Objectives Introduce Premiere Products, the company used as the basis for this course Introduce Henry Books Introduce

3

Premiere Products Background

Sample Order Source: Concepts of Database Management

Page 4: Sample casescontents.kocw.net/KOCW/document/2015/korea_sejong/...2 Objectives Introduce Premiere Products, the company used as the basis for this course Introduce Henry Books Introduce

4

Premiere Products Background (continued)

Sales Reps ♥ Sales rep number, last name, first name, address, total

commission, commission rate

Customers ♥ Customer number, name, address, current balance, credit limit,

customer sales rep

Parts Inventory ♥ Part number, description, number units on hand, item class,

warehouse number, unit price

Items for each customer’s order ♥ Order

♣ Order number, order date, customer number

♥ Order line ♣ Order number, part number, number of units ordered, quoted price

♥ Overall order total ♣ Not stored because it can be calculated

Page 5: Sample casescontents.kocw.net/KOCW/document/2015/korea_sejong/...2 Objectives Introduce Premiere Products, the company used as the basis for this course Introduce Henry Books Introduce

5

Entities, Attributes, and Relationship

Source: Concepts of Database Management

Relationship

Page 6: Sample casescontents.kocw.net/KOCW/document/2015/korea_sejong/...2 Objectives Introduce Premiere Products, the company used as the basis for this course Introduce Henry Books Introduce

6

Rep and Customer Tables

Source: Concepts of Database Management

Page 7: Sample casescontents.kocw.net/KOCW/document/2015/korea_sejong/...2 Objectives Introduce Premiere Products, the company used as the basis for this course Introduce Henry Books Introduce

7

Orders and OrderLine Tables

Source: Concepts of Database Management

Page 8: Sample casescontents.kocw.net/KOCW/document/2015/korea_sejong/...2 Objectives Introduce Premiere Products, the company used as the basis for this course Introduce Henry Books Introduce

8

Alternative Orders Table

Source: Concepts of Database Management

Page 9: Sample casescontents.kocw.net/KOCW/document/2015/korea_sejong/...2 Objectives Introduce Premiere Products, the company used as the basis for this course Introduce Henry Books Introduce

9

Henry Books Database Case

Henry Books

♥ Book store chain operated by Ray Henry

♥ Sells used books and remainders

Henry decided to use database to gather and store

information on:

♥ Branches

♥ Publishers

♥ Authors

♥ Books

9

Page 10: Sample casescontents.kocw.net/KOCW/document/2015/korea_sejong/...2 Objectives Introduce Premiere Products, the company used as the basis for this course Introduce Henry Books Introduce

10

Sample Branch and Publisher Data

Branch

Source: Concepts of Database Management

Page 11: Sample casescontents.kocw.net/KOCW/document/2015/korea_sejong/...2 Objectives Introduce Premiere Products, the company used as the basis for this course Introduce Henry Books Introduce

11

Sample Author Data Sample Book Data

Source: Concepts of Database Management

Page 12: Sample casescontents.kocw.net/KOCW/document/2015/korea_sejong/...2 Objectives Introduce Premiere Products, the company used as the basis for this course Introduce Henry Books Introduce

12

Wrote Table Relates Books to Authors

Source: Concepts of Database Management

Page 13: Sample casescontents.kocw.net/KOCW/document/2015/korea_sejong/...2 Objectives Introduce Premiere Products, the company used as the basis for this course Introduce Henry Books Introduce

13

Copy Table Relates Books to Branches

Source: Concepts of Database Management

Page 14: Sample casescontents.kocw.net/KOCW/document/2015/korea_sejong/...2 Objectives Introduce Premiere Products, the company used as the basis for this course Introduce Henry Books Introduce

14

Henry Books

E-R diagram for the Henry Books database Source: Concepts of Database Management

Page 15: Sample casescontents.kocw.net/KOCW/document/2015/korea_sejong/...2 Objectives Introduce Premiere Products, the company used as the basis for this course Introduce Henry Books Introduce

15

Henry Books

If Henry Books sells only new books?

♥ Inventory table instead of Copy table

OnHand

BookCode

BranchNum

Inventory

Source: Concepts of Database Management

Page 16: Sample casescontents.kocw.net/KOCW/document/2015/korea_sejong/...2 Objectives Introduce Premiere Products, the company used as the basis for this course Introduce Henry Books Introduce

16

Alexamara Marina Group Database Case

Alexamara Marina Group offers in-water boat storage to

owners

♥ Provides boat slips that boat owners can rent on an annual basis

♥ Two marinas: Alexamara East and Alexamara Central

♥ Provides boat repair and maintenance services

Database used to store data

Page 17: Sample casescontents.kocw.net/KOCW/document/2015/korea_sejong/...2 Objectives Introduce Premiere Products, the company used as the basis for this course Introduce Henry Books Introduce

17

Alexamara Marina Group

Sample marina data for Alexamara Marina Group

Sample owner data for Alexamara Marina Group

Source: Concepts of Database Management

Page 18: Sample casescontents.kocw.net/KOCW/document/2015/korea_sejong/...2 Objectives Introduce Premiere Products, the company used as the basis for this course Introduce Henry Books Introduce

18

Alexamara Marina Group

Sample data about marina slips for Alexamara Marina Group

Source: Concepts of Database Management

Page 19: Sample casescontents.kocw.net/KOCW/document/2015/korea_sejong/...2 Objectives Introduce Premiere Products, the company used as the basis for this course Introduce Henry Books Introduce

19

Alexamara Marina Group

Sample data about service categories for Alexamara Marina Group

Source: Concepts of Database Management

Page 20: Sample casescontents.kocw.net/KOCW/document/2015/korea_sejong/...2 Objectives Introduce Premiere Products, the company used as the basis for this course Introduce Henry Books Introduce

20

Alexamara Marina Group

Sample data about service requests for Alexamara Marina Group

Source: Concepts of Database Management

Page 21: Sample casescontents.kocw.net/KOCW/document/2015/korea_sejong/...2 Objectives Introduce Premiere Products, the company used as the basis for this course Introduce Henry Books Introduce

21

Alexamara Marina Group

E-R diagram for the Alexamara Marina Group database

Source: Concepts of Database Management

Page 22: Sample casescontents.kocw.net/KOCW/document/2015/korea_sejong/...2 Objectives Introduce Premiere Products, the company used as the basis for this course Introduce Henry Books Introduce

22

Alexamara Marina Group

Alternative E-R diagram for the Alexamara Marina Group database

Slip Yacht

MarinaSlip

BoatID

SlipID

Period

Marina Owner

Service

Request

Service

Category

Assign


Recommended