Based on the baxter aviation scenario that you used for the

Assignment Help Database Management System
Reference no: EM13348136

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: EM13348136

Questions Cloud

Question 1 the international monetary system exchange rate : question 1 the international monetary system exchange rate regimesa currency exchange rates for december 1999-september
Task in this lab you will develop the following image : task in this lab you will develop the following image manipulations that can be performed on a user-specified image.
1 eithernbsp find a newspaper tv radio or web article that : 1. eithernbsp find a newspaper tv radio or web article that reports some scientific study or statistical analysis of
Q1 - how will technology encourage collaboration and : q1 - how will technology encourage collaboration and sharing information internally?q2 - how can a website help a
Based on the baxter aviation scenario that you used for the : based on the baxter aviation scenario that you used for the first exam. please read the following narrative carefully
Country y has a fixed peg against the us this decision was : country y has a fixed peg against the us. this decision was made in year t-3 to counter sticky double-digit inflation
Show how did you do the maintenance during your workshop : show how did you do the maintenance during your workshop machines were sent to your workshop from a big
Qestion 1 a process is said to be out of control ifanswer : question 1 a process is said to be out of control ifanswer a point falls above the upper or below the lower control
Write an essay about how the brain create the self- how : write an essay about how the brain create the self.- how does a healthy brain enable us to create our sense of self?-

Reviews

Write a Review

Database Management System Questions & Answers

  Construct a diagram using rationale to map the arguments

Construct a diagram using Rationale to map the arguments about a moral claim that you have identified in the article/case study: Include all supporting and objecting claims.

  Design a database - what is the purpose of your database

Design a database, a database planner should spend a considerable amount of time thinking about what kind of information will be included in the database and how it will be organized.

  Essay on data mining in warehouse architectures

Course: data mining. Require a 7 page essay on subjects: Warehouse Architectures: the paper requires to contain information about centralized, federated, and tiered data warehouse.

  Why triggers are significant in database systems

What are triggers used for, and why are they significant in database systems? Give an example of situation where a trigger would be appropriate. What would implementation of this trigger look like?

  Create an e-r diagram

You have probably seen that already when you tried to create an E-R diagram. Visio uses notation and graphical shapes that are not the same as those in your text. If you look at some of the links to schemas, you will see a similar sort of thing.

  Pros and cons in agile and waterfall project management

Evaluate the pros and cons in agile and Waterfall project management in terms of planning and the execution of projects and collaboration among project team members.

  Write candidate keys and referential integrity constraints

Transform the tables into one or more tables in BCNF. Write the primary keys, candidate keys, and referential integrity constraints.

  What amounts will be require for ordering supplies

Design a spreadsheet that will enable you to request the required funds from your team's finance officer, order supplies from the home office, and ensure dissemination of appropriate quantities to each village.

  Write problems and issues associated with internet databases

Over 70% of web applications use database to store persistent data. Write some of the problems and issues associated with internet databases?

  Provide a sql script file to define the database schema

Provide a SQL script file to define the database schema, HappyCustomerDB. Your script should be organised so that whenever the script is loaded all the database objects will be dropped and re-created.

  Create database to keep information of movies

Create a database for Ray. He is interested in movies and wants to keep information on movies, actors, and directors in a database. The only user is Ray, and he needs to produce reports.

  Execution of the SQL commands - Create Tables using SQL DDL

The appropriate SQL command which should be copied from your source code in MySQL and resultant tables, which must be screenshots to show the change due to the execution of the SQL commands

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