You are on page 1of 21

PROJECT ON

SHOWMAN HOUSE

Developed by

Name: Iman Taiwo-Jalupon

Reg. No.: R073004500609

NIIT
Showman House

Batch Code : B070073


Start Date : 23 March 2007 End Date : 6 April 2007
Name of the Coordinator : Hajia Bello
Name of the Developer : Iman Taiwo-Jalupon

Date of submission : 8 April 2007


NIIT
CERTIFICATE
This is to certify that this report titled Showman House embodies the original
work done by Iman Taiwo-Jalupon in partial fulfillment of their course
requirement at NIIT

Coordinator : Hajia Bello


ACKNOWLEDGEMENT

We have benefited a lot from the feedback and suggestions given to


us by Hajia Bello and other faculty members.
SYSTEM ANALYSIS

System summary: showman 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.
ENTITIES

Number of entities: 6
Names of entities :
1. Event Types
2. Fee schedules
3. Events
4. Payments
5. Attendees
6. Employees
ATTRIBUTES

Attributes:
The attributes of the regular entities are:
a. Event Types
EventTypeID
Description
b. Fee Schedules
FeeScheduleID
EventID
Fee Description
FeeAmount
c. Events
EventID
Event Name
EventTypeID
Location
Start Date
End Date
Staffing Required
Event Description
EmployeeID
No of People
d. Payments
PaymentID
EventID
Payment Amount
Payment-DT
PaymentMethodID
Payment Method Desc
CreditCard Number
Cardholders Name
Creditcard ExpDate
FeeScheduleID
e. Attendees
AttendeeID
First Name
Last Name
Address
City
State
Zip
Country
Phone No
f. Employees
EmployeeID
First Name
Last Name
Title
Phone No
E/R DIAGRAM

PAYMENT PAYMENT PAYMENT


AMOUNT METHOD ID METHOD

CREDITCARD
PAYMENT-DT NUMBER
EVENT
ID

PAYME CARDHOLDERS NAME


NT ID
CREDITCARD EXPIRY
DATE
PAYMENTS

1 FEE SCHEDULE
PHONE ID
NO
LAST EVENT
TYPEID LOCATION STAFFING
FIRSTNAM TITLE
E EVENT
NAME START END DATE
EMPL DATE
FO EVENT
OY ID
EVENT R DESCRIPTIO

EVENT
ID EMPLOYEE ID
1
1 MA M 1 1
O
EVENTS FEE SCHEDULES
EMPLOYEES NA
M
N
GES
M
FEE
SCHEDULE
No OF
PEOPLE

O
RGA BASE EVET ID
NIZE D ON FEE
AMOUNT
1
FEE
ATTENDEES DESCRIPTI
ON
1
PHONE
EVENT TYPES
NO

DESCRIPTION
A COUNTRY
TTE EVENT TYPE
ADDR
NDE ID
ESS STATE
E ID

FIRST
NAME LAST CITY ZIP
NAME
TABLES

Numbers of Tables: 6
Event Types [Entity] Fee schedules
Fee Schedules [Entity]
Event Types FeeScheduleID
EventTypeID
EventID
Description
Fee Description

Fee Amount

Events Events [Entity] Payments


EventID [Entity]
Event Name
Event TypeID
Location
Start Date
End Date
Staffing Required
Event Description
EmployeeID
NO of People
Payments
PaymentsID
EventID
Payment Amount
Payment-Dt
PaymentMethodID
Payment Method
Desc
Creditcard Number
Cardholders Name
Creditcard ExpDate
FeeScheduleID
Attendees [Entity] Employees
Employees [Entity]
Attendees EmployeeID
AttendeeID First Name
First Name Last Name
Last Name Title
Address Phone No
City
State
Zip
Country
Phone No
TABLES AFTER 1NF

The tables are already in 1NF.


Event Types Fee schedules
Fee Schedules
Event Types FeeScheduleID
EventTypeID
EventID
Description
Fee Description

Fee Amount

Events
EventID Events Payments
Event Name
Event TypeID
Location
Start Date
End Date
Staffing Required
Event Description
EmployeeID
NO of People
Payments
PaymentsID
EventID
Payment Amount
Payment-Dt
PaymentMethodID
Payment Method
Desc
Creditcard Number
Cardholders Name
Creditcard ExpDate
FeeScheduleID
Attendees Employees
Employees
Attendees EmployeeID
AttendeeID First Name
First Name Last Name
Last Name Title
Address Phone No
City
State
Zip
Country
Phone No
TABLES AFTER 2 NF

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

Event Types Fee schedules


Fee Schedules
Event Types FeeScheduleID
EventTypeID
EventID
Description
Fee Description

Fee Amount
Events
EventID
Event Name
Events Payments
Event TypeID
Location
Start Date

End Date
Staffing Required
Event Description
EmployeeID
NO of People
Payments
PaymentsID
EventID
Payment Amount
Payment-Dt
PaymentMethodID
Payment Method
Desc
Creditcard Number
Cardholders Name
Creditcard ExpDate
FeeScheduleID
Attendees Employees
Employees
Attendees EmployeeID
AttendeeID First Name
First Name Last Name
Last Name Title
Address Phone No
City
State
Zip
Country
Phone No
TABLES AFTER 3NF

In the payments table, the attribute PaymentMethodDesc depends on the


PaymentMethodID. There we need to create a separate table called, Payment Methods.
In addition, the attributes Cardholders Name and CreditCardExpDate depend on
CreditCardNumber and not on PaymentID. Therefore, we need to create another table,
Credit Cards. Now, the tables are:

Event Types Fee schedules


Fee Schedules
Event Types FeeScheduleID
EventTypeID
EventID
Description
Fee Description

Fee Amount

Events
EventID
Event Name Events Payments
Event TypeID
Location
Start Date

End Date
Staffing Required
Event Description
EmployeeID
NO of People
Payments
PaymentsID
EventID
Payment Amount
Payment-Dt
PaymentMethodID
CreditCard Number
FeeScheduleID
Attendees Employees
Employee
Attendees EmployeeID
AttendeeID First Name
First Name Last Name
Last Name Title
Address Phone No
City Payment Methods
State PaymentMethodID
Zip
Country Payment methodDesc
Phone No Credit Cards
Payment Methods
Credit Cards CreditCard Number

Cardholders Name

CreditCard ExpDate
TABLES AFTER DENORMALIZATION

When we place the information about credit card in a separate table, the query
performance during the generation of payment receipt will get affected due to
creation of joins in every payment receipt. Therefore, for optimum performance,
we denormalize and place the credit card information back into the payments
table. Now, the tables are as follows:

Event Types Fee schedules


Fee Schedules
Event Types FeeScheduleID
EventTypeID
EventID
Description
Fee Description

Events Fee Amount


EventID
Event Name
Event TypeID Events Payments
Location
Start Date

End Date
Staffing Required
Event Description
EmployeeID
NO of People
Payments
PaymentsID
EventID
Payment Amount
Payment-Dt
PaymentMethodID
Creditcard Number
Cardholders Name
Credit card ExpDate
FeeScheduleID
Attendees Employees
Employee
Attendees EmployeeID
AttendeeID First Name
First Name Last Name
Last Name Title
Address Phone No
City Payment Methods
State PaymentMethodID
Zip
Country Payment methodDesc
Phone No
Payment Methods
PRIMARY AND FOREIGN KEYS

Event Types
Primary Key: EventTypeID

Fee Schedules
Primary Key: FeeScheduleID
Foreign Key: EventID

Events
Primary Key: EventID
Foreign Keys: EventTypeID, EmployeeID, AttendeeID

Payments
Primary Key: PaymentID
Foreign Keys: EventID, PaymentMethodID

Payment Methods
Primary Key: PaymentMethodID

Attendees
Primary Key: AttendeeID

Employees
Primary Keys: EmployeeID
RELATIONSHIPS BETWEEN FINAL TABLES

Event Types Fee Schedule


Field Name
Field Name
FeeScheduleID
EventTypeID
EventID
Description Fee Description
Fee Amount
Employees
Event
Payments Field Name
Field Name EventID Field Name
EmployeeID Event Name
First Name PaymentID
EventTypeID
Last Name Location EventID
Title PaymentAmount
Start Date
Phone No CreditCard Number
Attendees End Date Cardholders Name
Staffing Required
CreditCard ExpDate
Field Name Event Description
PaymentMethodID
AttendeeID EmployeeID
FeeScheduleID
First Name AttendeeID
NoOfpeople
Last Name
Address
City
Payment Methods
State
Zip Field Name
Country PaymentMethodId
Phone No PaymentMethodDesc

You might also like