Documente Academic
Documente Profesional
Documente Cultură
A. Identify the information required for each section in the case study:
1. IDENTIFY ENTITIES
SECTION A: ATTRACTION, PACKAGE, TRAVELER
SECTION B: HOTEL, ATTRACTION, ROOM_TYPE, BOOKING
2. IDENTIFY ATTRIBUTES
SECTION A:
ATTRACTION.: AttractionID, AttractionName, Description, TicketPrice
PACKAGE: PackageNumber, TravellingFromDate, TravellingToDAte,
PackageCreatedBy, PassportNumber
TRAVELER: PassportNo, Name
SECTION B:
HOTEL: HotelNumber, HotelName
ATTRACTION: AttractionID, AttractionName
ROOM_TYPE: RoomTypeName, Sleeps, Price
BOOKING: PackageNumber, HotelNum, CheckIn, CheckOut, RoomType,
NumberOfRooms
SECTION B
SECTION B
1 PACKAGE includes 0/M BOOKING, 1 BOOKING included-in 1 PACKAGE
1 BOOKING for 1/M ROOM_TYPES, 1 ROOM_TYPE for 1 BOOKING
1 ROOM_TYPE located-at 1 HOTEL, 1 HOTEL has 1/M ROOM_TYPES
1 HOTEL is-near-to 0/M ATTRACTIONS, 1 ATTRACTION is-near-to 0/M
HOTELS
B. Develop the Entity Relationship Diagram (ERD) in 3NF using crows’ foot notation for
cardinalities. You must show the entities, composite entities, relationships, cardinalities and
any optionality. Please use DIA software to construct your ERD.
Note: There are two (2) M-N relationships: convert to composite entities.
Final ERD in 3NF
C. Develop the Relational Data Model (RDM) which corresponds to the ERD. That is, the set
of tables in third normal form that could be used to represent the whole of this data model.
Your RDM should identify primary and foreign keys. Your RDM should be presented in the
format:
Develop the Physical database design and implement it using MySQL Workbench DBMS.
You are required to insert at least 10 dummy records for each table.
Note:
For SQL queries, in your report please use font size: 10, font style: Courier New,
Single spacing.