Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Answer the following questions based on the following two tables from Happy Cruise Lines relational database. Sailor Number 00536 00732 06988 16490 18535 20254
Answer the following questions based on the following two tables from Happy Cruise Lines relational database. Sailor Number 00536 00732 06988 16490 18535 20254 23981 27467 27941 28184 31775 32856 Ship Number 005 009 012 020 Ship Name Alan Jones Jane Adams Rene Lopez Fred Jones Sailor Name John Smith Ling Chang Maria Gonzalez Prashant Kumar Sea Joy 1999 Ocean IV 2003 Prince Al 2004 Queen Shirley 1999 (a) SHIP table. Ship Number Alain DuMont Susan Moore James Collins Sarah McLachlan 009 012 020 005 009 012 020 Year Built 020 009 009 012 012 Weight (Tons) Home Country USA China Mexico India UK USA Philippines UK France Canada USA Ireland (b) CREW MEMBER table. 80,000 75,000 90,000 80,000 Job Title Purser Engineer Purser Navigator Cruise Director Captain Captain Waiter Captain Wine Steward Waiter Cabin Steward b. Assume that the records of the Crew Member file are physically stored in the order shown. i. Retrieve all of the records of the file physically sequentially. ii. Retrieve all of the records of the file logically sequentially based on the Sailor Name field. iii. Retrieve all of the records of the file logically sequentially based on the Sailor Number field. iv. Retrieve all of the records of the file logically sequentially based on the Ship Number field. v. Perform a direct retrieval of the records with a Sailor Number field value of 27467. vi. Perform a direct retrieval of the records with a Ship Number field value of 020. vii. Perform a direct retrieval of the records with a Job Title field value of Captain. c. The value 009 appears as a ship number once in the SHIP table and four times in the CREW MEMBER table. Does this constitute data redundancy? Explain. d. Merge the SHIP and CREW MEMBER tables based on the common ship number field (in a manner similar to Figure 3.8 for the General Hardware database.) Is the merged table an improvement over the two separate tables in terms of: i. Data redundancy? Explain. ii. Data integration? Explain. e. Explain why the Ship Number field is in the CREW MEMBER table. f. Explain why ship number 012 appears three times in the CREW MEMBER table. g. How many tables must be accessed to find: i. The year that ship number 012 was built? ii. The home country of sailor number 27941? iii. The name of the ship on which sailor number 18535 is employed? h. Describe the procedure for finding the weight of the ship on which sailor number 00536 is employed. i. What is the mechanism for recording the one-to-many relationship between crew members and ships in the Happy Cruise Lines database, above?
Step by Step Solution
★★★★★
3.47 Rating (157 Votes )
There are 3 Steps involved in it
Step: 1
b i Retrieve all of the records of the file physically sequentially When retrieving records from the Crew Member file physically sequentially the records are retrieved in the order in which they are s...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