Normalization Airlines
Normalization Airlines
1 ROHITH G R BANGALORE 21
2 RISHAB R MYSORE 22
NORMALIZATION OF USERS:
USER_ID NAME
USER_ID ADDRESS
USER_ID AGE
In USERS, all the attributes are atomic and there cannot be duplicate rows. Hence, it is in 1NF.
This is already in 2NF since every non key attribute is fully dependent on primary key.
NORMALIZATION OF ADMIN
ADMIN_I NAME
D
10 ROHAN R
11 SATYAM S
ADMIN_ID NAME
In ADMIN, all the attributes are atomic and there cannot be duplicate rows. Hence, it is in 1NF.
This is already in 2NF since every non key attribute is fully dependent on primary key.
AIRPORT_CODE CITY
In AIRPORTS, all the attributes are atomic and there cannot be duplicate rows. Hence, it is in 1NF.
This is already in 2NF since every non key attribute is fully dependent on primary key.
PLANE_ID AIRLINES_ID
PLANE_ID TOTAL_FIRSTCLASS_SEATS
In PLANES, all the attributes are atomic and there cannot be duplicate rows. Hence, it is in 1NF.
This is already in 2NF since every non key attribute is fully dependent on primary key.
FLIGHT_ID SOURCE
FLIGHT_ID DESTINATION
FLIGHT_ID STOPS
FLIGHT_ID HALT_STATION
FLIGHT_ID DEPARTURE_TIME
FLIGHT_ID DEPARTURE_DATE
FLIGHT_ID ARRIVAL_TIME
FLIGHT_ID ARRIVAL_DATE
In FLIGHTS, all the attributes are atomic and there cannot be duplicate rows. Hence, it is in 1NF.
This is already in 2NF since every non key attribute is fully dependent on primary key.
NORMALIZATION OF TAKEN_BY
FLIGHT_ID PLANE_ID
48 AirIndia01
51 SpiceJet01
In TAKEN_BY, all the attributes are atomic and there cannot be duplicate rows. Hence, it is in 1NF.
NORMALIZATION OF STOPS_AT
FLIGHT_ID AIRPORT_ID
48 100
51 101
First Normal Form
In USERS, all the attributes are atomic and there cannot be duplicate rows. Hence, it is in 1NF.
In USERS, all the attributes are atomic and there cannot be duplicate rows. Hence, it is in 1NF.
In BOOKS, all the attributes are atomic and there cannot be duplicate rows. Hence, it is in 1NF.
This is already in 2NF since every non key attribute is fully dependent on primary key.