Sie sind auf Seite 1von 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 AMOUNT PAYMENT PAYMENT


METHOD ID METHOD
DESC
CREDITCARD
PAYMENT-DT NUMBER
EVENT ID

PAYME CARDHOLDERS NAME


NT ID
CREDITCARD EXPIRY
PAYMENTS DATE

1 FEE SCHEDULE
PHONE ID
NO
LAST EVENT
NAME TYPEID LOCATION STAFFING REQUIRED
FIRSTNAM TITLE
E EVENT
NAME START END DATE
EMPL DATE
FO EVENT
OY ID
EVENT R DESCRIPTIO
NAME N
EVENT ID
EMPLOYEE ID
1
1 M 1 1
MA O
EMPLOYEES NA
EVENTS
N
FEE SCHEDULES
M
GES
M
FEE
SCHEDULE
No OF ID
PEOPLE

ORG
ANIZ BASE EVET ID
ES D ON FEE
1 AMOUNT
FEE
ATTENDEES DESCRIPTI
ON
1
PHONE EVENT TYPES
NO

DESCRIPTION
ATT COUNTRY
END EVENT TYPE
ADDR
EE STATE ID
ESS
ID

FIRST
NAME LAST CITY ZIP
NAME
TABLES

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

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 [Entity]
Attendees Employees
AttendeeID EmployeeID
First Name
First Name
Last Name Last Name
Address Title
City
Phone No
State
Zip
Country
Phone No
TABLES AFTER 1NF

The tables are already in 1NF.


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

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
Attendees Employees
AttendeeID EmployeeID
First Name
First Name
Last Name Last Name
Address Title
City
Phone No
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


Event Types Fee schedules
EventTypeID
FeeScheduleID
Description
EventID

Fee Description

Events Fee Amount


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
Attendees Employees
AttendeeID EmployeeID
First Name
First Name
Last Name Last Name
Address Title
City
Phone No
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


Event Types Fee schedules
EventTypeID
FeeScheduleID
Description
EventID

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 Employee
Attendees Employees
AttendeeID EmployeeID
First Name
First Name
Last Name Last Name
Address Title
City
Phone No
State
Zip Payment Methods
Country PaymentMethodID
Phone No Payment methodDesc
Payment Methods Credit Cards
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


Event Types Fee schedules
EventTypeID
FeeScheduleID
Description
EventID

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 Employee
Attendees Employees
AttendeeID EmployeeID
First Name
First Name
Last Name Last Name
Address Title
City
Phone No
State
Zip Payment Methods
Country PaymentMethodID
Phone No Payment methodDesc
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
Field Name
EmployeeID
First Name EventID PaymentID
Last Name Event Name EventID
Title EventTypeID PaymentAmount
Phone No Location CreditCard Number
Start Date Cardholders Name
Attendees CreditCard ExpDate
End Date
Staffing Required PaymentMethodID
Field Name
Event Description FeeScheduleID
AttendeeID
EmployeeID
First Name
AttendeeID
Last Name
NoOfpeople
Address
City Payment Methods
State
Field Name
Zip
PaymentMethodId
Country
PaymentMethodDesc
Phone No

Das könnte Ihnen auch gefallen