Evaluate the functional dependencies

Assignment Help Database Management System
Reference no: EM132072

Based on the Baxter Aviation scenario that you used for the first exam. Please read the following narrative carefully, as many of the rules have changed!

Baxter Aviation's business has increased so dramatically that the company is now going to offer regularly scheduled flights to the remote villages. Each flight is scheduled to make a circle of two or more villages.

In terms of the database used to manage flights and associated data, this change has the following impacts:

• Flight numbers for the regularly scheduled flights are not unique. However, any flight number will be used at most once a day.
• The database must now store passenger lists. In other words, the database must include every person that has purchased a ticket and the flight(s) on which they fly.
• Children under two years of age fly free if they are held by their parents; children under 12 years of age pay half price for their tickets. The database must therefore also include data about the price paid for each ticket. Otherwise, Baxter Aviation will not have enough data to do its accounting.
• The database must store the villages to which each flight flies. The order of the village in a flight's route is given by the Order_in_route attribute. For example, if a flight goes from Ambler to Shungnak to Kobuk and then back to Kotzebue, the value of Order_in_route for Ambler will be 1, for Shungnak 2, and Kobuk 3.

Consider the following relation in light of the revised rules presented above:

Flights (Pilot#, Flight#, Village name, Flight date, Aircraft ID#, Customer #, Flight time, Customer first name, Customer last name, Customer home phone number, Ticket price paid, Pilot home phone number, Pilot house number, #seats in aircraft, Order in route)

1. What is the primary key of this relation?

2.

(a) Give a specific example of an insertion anomaly in this relation.

(b) Give a specific example of a deletion anomaly in this relation.

(c) Give a specific example of a modification/update anomaly in this relation.

3. What are the functional dependencies among the data represented in this first normal form relation? (Major hint: Don't forget that functional dependencies are independent of the structure of a relation.)

4. In which normal form is the relation? Why?

5. Transform this relation into a set of third normal form relations. For each table indicate its primary key; underlining is the easiest way to show this. Then list the foreign keys in each table and indicate that relations that they reference.

6. Consider the following request for information from the database:

"Display the first and last names of every passenger that flew on flight #180 on 4/6/11."

Using the relations you created for question 5, write the sequence of relational algebra operations needed to perform the query.

7. Consider the following request for information from the database:

"Display the names of all the villages that are not scheduled to have flights on 12/1/11."

Using the relations you created for question 5, write the sequence of relational algebra operations needed to perform the query.

Reference no: EM132072

Questions Cloud

Explain international monetary system : Explain International Monetary System
Develop the image manipulations : Develop the image manipulations
Write your own newspaper article : Write your own newspaper article for the study with at least one appropriate table or graph.
How will technology encourage collaboration : How will Technology Encourage collaboration and sharing information internally?
Evaluate the functional dependencies : What are the functional dependencies among the data represented in this first normal form relation?
Vulnerability analysis : Vulnerability Analysis
How did you do the maintenance during your workshop : Show how did you do the maintenance during your workshop
Quality control analysis : Determining the root causes
An essay about how the brain create the self : Write an essay about how the brain "create" the self.

Reviews

Write a Review

Database Management System Questions & Answers

  Write an sql query

Write an SQL query to get the author of the book "The Alchemist"

  Describing the purpose of database an its functionality

Describing the purpose of database an its functionality, plus a detailed E-R diagram.

  First - second or third normal form

How many entities are shown by this relation?

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Draw the e/r diagrams for the business rules

Draw the E/R diagrams for the business rules

  Data modeling and normalization

Data Modeling and Normalization

  Study and modify the postgresql source code

Write a Assignment to study and modify the PostgreSQL source code, with a focus on one of the core modules - the buffer manager

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Creating database structure using sql

creating database structure using SQL

  Description of the relationship represented by scatterplot

Produce a scatterplot of Rent vs. Size (square meters of the apartment) for the rental data in rent.

  Create a database using oracle packaged procedure

Create a database using Oracle packaged procedure

  Prepare the relational schema for database

Prepare the relational schema for database

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd