Database Management System Project
Database Management System Project
NAME IDNO
1, INTRODUCTION 1
2, REQUIRMENT 2
3, ER DIAGRAM 3
4, DATABASE SCHEMA 4
5, NORMALIZTION 5
INTRODUCTION
Hotel is a place where people can stay and provides food,
lodging, and other services for paying guests.
REQUIARMENT
Entity relational schema
1. Employeetbl
2. Managertbl
3. Billtbl
4. Invoicetbl
5. Roomtbl
6. Custemortbl
Relationships
Customer relate with invoice by payment
Customer relate with Room with check in out
Room relate with room category by of
Invoice relate with Bill by has
NORMALIZATION
1. 1NF
2. 2NF
3. 3NF
2
er diagram
LName
IN_DESCRIPTION
FName
SSN IN_ID
STATUS
C_Name C_ID
Country
INVOICE
CUSTOMER 1 1 1Has
Sex Payment LNAME m
e-mail
FNAME
m Date
Amount
P_method
C NAME
R_No
Bill_ID
Date
1 1 EMPLOY Ssn
ADDRESS manages
MANAGER EE
Name
Mng_Start_Date
3
Database schema for hotel management system
Invoice table
In_statu In_ID
In_description
s
Customer table
ROOM table
R_number R_ID R_price R_type
Room category
Employee
NORMALIZATION
Normalization is the process of decomposing unsatisfactory
‘’bad’’ relations by breaking up their attributes in to smaller
relations .
CUSTOMERTBL
Redundancy
ID e-mail Pnumber
1 [email protected] 1122
1 [email protected] 1133
2 [email protected] 3443
2 [email protected] 1111
3 [email protected] 4325
3 [email protected] 8765