1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
zvonat [6]
3 years ago
12

Normalize the following relation:

Computers and Technology
1 answer:
lora16 [44]3 years ago
5 0

Answer:

Hi Riahroo! This is a good question on the concept of relational databases.

We can normalize the relations as follows:

Flight

(flightnumber (unique), flighttime, airline_id, departure_city, arrival_city,  passenger_id, pilot_id, airplane_id)

has_one_and_belongs_to :airline

has_many :passengers

has_one :pilot

Itinerary(passenger_id, flight_id)

Belongs_to  

Passenger_details  

(passengername (unique), gender, date_of_birth)

has_many :flights

Pilot

(pilotname (unique), gender, date_of_birth)

has_many :flights

airline(airlinename)

airplane(planeID, type, seats))

Explanation:

To normalize a relation, we have to remove any redundancies from the relationships between database objects/tables and simplify the structure. This also means simplifying many-to-many relationships. In this question, we see there is a many-to-many relationship between flights and passengers. To resolve this we can introduce a join table which simplifies this relationship to a one-to-many between the objects.  

You might be interested in
What type of video games do you prefer buying?
Tamiku [17]
Mine is minecraft maybe
6 0
3 years ago
How can variables be used to make code easier to write and read
kifflom [539]

Answer:

i need help om this someone plz answer

Explanation:

6 0
3 years ago
It is recommended that you sit at least _____ inches away from the air bag.
harina [27]
The answer is C. 10

Further than that distance, you will risk being choked by seat belts during the crash.

Below that distance, you will still feel the impact between your head and the steering wheel during the crash
3 0
3 years ago
Which describes the alternate free select method
Thepotemich [5.8K]
I'd say <span>C) clicking to create points with straight lines connecting them.
</span>

The alternate free select method creates a selection point. It does this by drawing straight lines between points that you are able to click rather than drawing it free hand with the pointer while holding and dragging the left mouse button.



6 0
3 years ago
Write<br> algorithm to read 100 numbers<br> then display the largest.
jekas [21]

Answer:

see picture

Explanation:

There is no need to store all the values, you can just keep track of the highest. Up to you to create a numbers file with 100 values.

3 0
3 years ago
Other questions:
  • In the circuit seen here, the resistor has a resistance of 3 ohms. If no change in the battery size occurs, what will happen to
    15·2 answers
  • Plese give three examples of specilized servers.
    13·2 answers
  • If a pilot is converting standard time to UTC time and is given the time 1730 UTC, what would EST be?
    8·2 answers
  • Fuction table of JK-Flip flop?
    11·1 answer
  • A ________ database state is one in which all data integrity constraints are satisfied
    15·2 answers
  • Translation of a file into a coded Format that occupies less space than the original file is called
    6·1 answer
  • Consider the following sequence of page references: 1 2 3 3 4 4 1 4 1 3 4. Determine how many page faults will occur with LRU(Le
    13·1 answer
  • How are search results organized?
    6·1 answer
  • What is a web client ​
    6·2 answers
  • What is the outcome when a floating-point number is divided by zero?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!