Showman House

22
SYSTEM ANALYSIS System Summary: Showman House is a large event management company of New York. The company organizes various types of events throughout the year. The events types include fashion shows, celebrity shows, chat shows, musical extravaganza, exhibitions, fairs, and charity shows. The management of Showman House realizes that it is difficult to maintain so much data manually. Therefore, they have decided to computerize the entire system of event management. 1. Identify the various entities involved. 2. Identify the attributes of the various entities. The attributes should completely define the entities. 3.Draw an E/R diagram to demonstrate the relationship between the various entities. Showman House Page 1 of 22

Transcript of Showman House

Page 1: Showman House

SYSTEM ANALYSIS

System Summary:

Showman House is a large event management company of New York. The

company organizes various types of events throughout the year. The events types

include fashion shows, celebrity shows, chat shows, musical extravaganza,

exhibitions, fairs, and charity shows.

The management of Showman House realizes that it is difficult to maintain so

much data manually. Therefore, they have decided to computerize the entire

system of event management.

1. Identify the various entities involved.

2. Identify the attributes of the various entities. The attributes should

completely define the entities.

3. Draw an E/R diagram to demonstrate the relationship between the various

entities.

4. Map the E/R diagram to tables.

5. Normalize the tables to 3 NF.

6. Identify the primary and foreign keys in the tables.

7. Draw a diagram to show the relationships between various tables.

Showman House Page 1 of 16

Page 2: Showman House

ENTITIES

Number of entities : 5

Name of entities :

Attendees

Employees

Event

Payment

Event Types

Showman House Page 2 of 16

Page 3: Showman House

ATTRIBUTES

Attributes:

1. Attendees

Attendees ID

First Name

Last Name

Phone

Address

City

State

Zip

Country

2. Employees

Employee ID

First Name

Last Name

Title

Phone

3. Event

Showman House Page 3 of 16

Page 4: Showman House

Event ID

Event Name

Event Type

Location

Start Date

End Date

Staffing Required

Event Description

Employee ID

Attendee ID

No Of People

4. Payment

Payment ID

Event ID

Payment Amount

Payment Date

Credit Card Number

Card Holder’s Name

Credit Card Exp Date

Payment Method ID

Description

Fee Schedule ID

5. Event Types

Event Type ID

Description

Showman House Page 4 of 16

Page 5: Showman House

E/R DIAGRAM

Showman House Page 5 of 16

Page 6: Showman House

Showman House Page 6 of 16

Page 7: Showman House

TABLES

Number of tables: 6

Events (entity) Employees (entity) Payments (entity)

Showman House Page 7 of 16

Employee ID

First Name

Last Name

Title

Phone

Page 8: Showman House

Attendees (entity) Event Types (entity) Fee Schedules (relationship)

Showman House Page 8 of 16

Attendee ID

First Name

Last Name

Address

City

State

Zip

Country

Phone

Page 9: Showman House

TABLES AFTER 1 NF

Tables are already in 1 NF.

Events (entity) Employees (entity) Payments (entity)

Showman House Page 9 of 16

Employee ID

First Name

Last Name

Title

Phone

Page 10: Showman House

Attendees (entity) Event Types (entity) Fee Schedules (relationship)

Showman House Page 10 of 16

Attendee ID

First Name

Last Name

Address

City

State

Zip

Country

Phone

Page 11: Showman House

TABLES AFTER 2 NF

The tables are already in 2 NF as the attributes in each table depend on the primary key.

Events (entity) Employees (entity) Payments (entity)

Showman House Page 11 of 16

Employee ID

First Name

Last Name

Title

Phone

Page 12: Showman House

Attendees (entity) Event Types (entity) Fee Schedules (relationship)

Showman House Page 12 of 16

Attendee ID

First Name

Last Name

Address

City

State

Zip

Country

Phone

Page 13: Showman House

TABLES AFTER 3 NF

In the Suppliers, Ship-Payment Method ID and Ship-Description are not depending on

Suppliers table, we need to create another table, Payment Methods.

Events (entity) Employees (entity) Payments (entity)

Payment Methods

Showman House Page 13 of 16

Employee ID

First Name

Last Name

Title

Phone

Payment Method ID

Description

Page 14: Showman House

Attendees (entity) Event Types (entity) Fee Schedules (relationship)

Showman House Page 14 of 16

Attendee ID

First Name

Last Name

Address

City

State

Zip

Country

Phone

Page 15: Showman House

Events

Primary key : Event ID

Foreign keys : Employee ID, Attendee ID, Event Type ID

Attendees

Primary key : Attendee ID

Employees

Primary key : Employee ID

Event Types

Primary key : Event Type ID

Fee Schedules

Primary key : Fee Schedule ID

Foreign Key : Event ID

Payments

Primary key : Payment ID

Foreign Key : Event ID, Payment Method ID, Fee Schedule ID

Payment Methods

Primary key : Payment Method ID

Showman House Page 15 of 16

Page 16: Showman House

RELATIONSHIPS BETWEEN FINAL

Showman House Page 16 of 16