Happy Cruise Lines Has Several Ships and a

Submitted by: Submitted by

Views: 216

Words: 434

Pages: 2

Category: Music and Cinema

Date Submitted: 03/23/2014 09:05 AM

Report This Essay

Draw an entity-relationship diagram that describes the following business environment.

Happy Cruise Lines has several ships and a variety of cruise itineraries, each involving several ports-of-call.  The company wants to maintain information on the sailors who currently work on each of its ships.  It also wants to keep track of both its past and future cruises and of the passengers who sailed on the former and are booked on the latter.

Each ship has at least one and, of course, normally many sailors on it.  The unique identifier of each ship is its ship number.  Other ship attributes include ship name, weight, year built, and passenger capacity.  Each sailor has a unique sailor identification number, as well as a name, date-of-birth, and nationality.  Some of the sailors are in supervisory positions, supervising several other sailors.  Each sailor reports to just one supervisor.  A cruise is identified by a unique cruise serial number.  Other cruise descriptors include a sailing date, a return date, and a departure port (which is also the cruise’s ending point.)  Clearly, a cruise involves exactly one ship; over time a ship sails on many cruises, but there is a requirement to be able to list a new ship that has not as yet sailed on any cruises, at all.  Each cruise stops at at least one and usually several ports-of-call, each of which is normally host to many cruises, over time.  In addition, the company wants to maintain information about ports that it has not as yet used in its cruises but may use in the future.  A port is identified by its name and the country that it is in.  Other information about a port includes its population, whether a passport is required for the passengers to disembark there, and its current docking fee, which is assumed to be the same for all ships.  Passenger information includes a unique passenger number, name, home address, nationality, and date-of-birth.  A cruise typically has many passengers on it (certainly at least one). ...