Question
DATABASE SYSTEMS Draw an ER diagram to represent the following situation: When appropriate, model an associative entity. We want to store information about TRAVELERs, TRAVELING
DATABASE SYSTEMS Draw an ER diagram to represent the following situation: When appropriate, model an associative entity. We want to store information about TRAVELERs, TRAVELING AGENCYs, PAYMENTs, MOTELs, and PACKAGEs. We would like to store information about the TRAVELERs which includes a unique traveler id, name (first and last), phone number (country code, area code and local), address (street, city, state, zip code) and an email address. Note that a TRAVELER can have more than one phone number. For TRAVELING AGENCYs, we want to store a unique traveling agency id, travel agency name, travel agency address (street, city, state, zip code). Within a TRAVELING AGENCY, the PACKAGE can be uniquely identified by its package name. The price of the package will also be captured. A TRAVELING AGENCY can book MOTELs for their travelers. For MOTELs, the travel booking agency wants to store a unique motel id, motel name and rooms available. We would also like to store information about the PAYMENTs of the traveler. For each payment, the following information is stored: a unique payment id, payment date (Month and Year), payment amount and payment method. Each TRAVELER can book travel using more than one TRAVELING AGENCYs, but some TRAVELERs may not travel through TRAVELING AGENCYs. TRAVELING AGENCYs will be booked by more than one TRAVELER, but some TRAVELING AGENCYs may not have any TRAVELERS. For each travel booked, we will also store the booking information like traveler id, travel agency id, travel location and booking date. Each MOTEL can reserve rooms for more than one TRAVELING AGENCYs, but some MOTELs may not reserve any rooms for TRAVELING AGENCYs. Each TRAVELING AGENCY can reserve rooms in more than one MOTEL, but some TRAVELING AGENCYs may or may not reserve any room in MOTELs. For each MOTEL reserved by a TRAVELING AGENCY, we will store their travel agency id, motel id, rooms booked, arrival date, arrival time, departure date, departure time and price. Each PACKAGE entry belongs to exactly one TRAVELING AGENCY and a TRAVELING AGENCY will have at least one PACKAGE. Each PAYMENT belongs to exactly one TRAVELER and a TRAVELER will have at least one PAYMENT
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started