Question
TravelAgency DB Schema Traveller(name, ssn, dob) Passport(number, country, expirationDate, holderName) Trip(id, startLocation, endLocation, startDate, endDate) Leg(location, startDate, endDate) Problem Description Each traveler has a name,
TravelAgency DB Schema
Traveller(name, ssn, dob)
Passport(number, country, expirationDate, holderName)
Trip(id, startLocation, endLocation, startDate, endDate)
Leg(location, startDate, endDate) Problem Description
Each traveler has a name, ssn, and date of birth.
Each passport has a number, the holders name, issuing country, and expiration date.
A passport is owned by at most one traveler.
One or more travelers go on one or more trips.
Trips include a unique id, starting location, ending location, start date, and end date.
Legs consist of a location, start date, and end date.
Trips are formed by one or more legs. Each leg must be a part of some trip. 1. Our TravelAgency DB will begin with the Schema and Problem Description given. Identify the relationships described in the Problem Description. Then, draw the ER Diagram that represents the entity sets and relationships.
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