Sie sind auf Seite 1von 3

G.

Koteshwar 10081d0010 Task 10

Third Normalization
Strong entities:

1. Passenger:
Attributes include, Name, date of birth, address, flight number, passenger ID

Name Date of birth Address Passenger ID

Table for composite attributes

City Street H.No

2. Flight:
Attributes include, flight no, capacity, timings, from, destination

Flight no Capacity Timings From Destination

3. Ticket:
Attributes include, flight no, ticket no, class, cost, date

Flight no Ticket no Class Cost Timings

4. Baggage:
Attributes include, flight no, class, cost, weight

Flight no Class Weight cost

5. Booking Office:
Attributes include, branch name, address, timings

Branch name Address Timings

Fly Safe Airways 1


G.Koteshwar 10081d0010 Task 10

Weak entities:

1. Additional service:
Attributes include, type of service, additional charge, passenger ID (it comes from
passenger entity to which it associated)

Passenger ID Type of service Additional charge

2. Waiting list:
Attributes include, flight no (it comes from flight entity to which it associated), ticket no,
customer name, class

Flight no Ticket no Class

Ticket no Customer name

3. Ticket cancellation:
Attributes include, ticket no, time of cancellation, passenger ID, amount deducted

Ticket no Passenger ID Time of cancellation Amount deducted

4. Credit card:
Attributes include, passenger ID (it comes from payment entity to which it associated),
amount, credit card number

Passenger ID Amount Credit card number

Fly Safe Airways 2


G.Koteshwar 10081d0010 Task 10

Converting relationship to table:

1. Reservation:
Attributes include, passenger ID, flight no, ticket no, class

Passenger ID Flight no Ticket no class

Fly Safe Airways 3