Free Tutorials, Linux Command, Source Code Architecture,  Software Engineering, Intelligent Systems, RDBMS, Computer Accounting,  Operations Research, Discrete Mathematics, Network, SAD Lay Networks Lay Networks
Computer Science Networking Operating Systems Linux and Unix Source Code Script & Languages Protocols Glossary
Web laynetworks.com
Google
 


Relational Database Management Systems

Airline Reservation System

SECOND NORMAL FORM (2NF) :

A relation is said to be in 2NF if it is 1NF and non-key attributes are functionality dependent on the key attributes. A ‘Functional Dependency’ is a relationship among attributes. One attribute is said to be functionally dependent on another if the value of the first attribute depends on the value of the second attribute.

In the given description flight number and halt code is the composite key.

Splitting of relation given in table 1 into 2NF relations

FLIGHT DETAILS :

AR_FLIGHT_MST

FL_NO

VARCHAR2(7)

PRIMARY KEY

FL_NAME

VARCHAR2(25)

NOT NULL

ORG_CD
NUMBER(3)
NOT NULL
DES_CD
NUMBER(3)
NOT NULL
CAPACITY
NUMBER(3)
NOT NULL

AR_FLIGHT_DET

FL_NO

VARCHAR2(7)

PRIMARY KEY (REFERENCE AR_FLIGHT_MST.FL_NO)

HALT_CD

NUMBER(3)

PRIMARY KEY

DIST_FRM_ORG
NUMBER(3)
-
NO_QUOTA
NUMBER(3)
-
NO_BOOKED
NUMBER(3)
-

JOUR_DATE

-
NOT NULL

THIRD NORMAL FORM (3NF) :

A Third Normal Form normalization will be needed where all attributes in a relation tuple are not functionally dependent only on the key attribute. A transitive dependency is one in which one in which one attribute depends on second which is turned depends on a third and so on.

FLIGHT DETAILS :

AR_FLIGHT_MST

FL_NO

VARCHAR2(7)

PRIMARY KEY

FL_NAME

VARCHAR2(25)

NOT NULL
ORG_CD
NUMBER(3)
NOT NULL
DES_CD
NUMBER(3)
NOT NULL
CAPACITY
NUMBER(3)
NOT NULL

AR_FLIGHT_DET

FL_NO

VARCHAR2(7)

PRIMARY KEY (REFERENCE AR_FLIGHT_MST.FL_NO)

HALT_CD

NUMBER(3)

PRIMARY KEY
DIST_FRM_ORG
NUMBER(3)
-
NO_QUOTA
NUMBER(3)
-
NO_BOOKED
NUMBER(3)
-

JOUR_DATE

 -

NOT NULL

AR_HALT_MST

HALT_CD

NUMBER(3)

PRIMARY KEY
DESCRIPTION
VARCHAR2(30)
NOT NULL



Cont...

Top

Back
Next
FDDI Frequently Asked Questions (FAQ), The function and frame format of FDDI,Aloha,Comparative analysis between two types of ATM Switches,Knockout Switch,Barcher-Banyan Switch,Various popular standards for compressing multimedia data,Distributed Multimedia Survey: Standards, ASCII to hex value chart,Comparative analysis - TCP - UDP, Addressing Formats and QoS parameters, Bellman Ford's Algorithm Lay networks, free, java, java script, asp, vb, linux, ignou, tutorial, Unix commands, System Analysis, System Design, Ipv6, quiz, download, free, Computer Architecture, Object Oriented System, Relational Database Management Systems, Object Oriented System, Operating Systems, Software Engineering, Communications and Networks, Discrete Mathematics, Intelligent Systems, Operations Research, Accounting and Finance on Computersmca, networking, protocols, glossary, assignment, project, tma, programming source code, programming, source code, unix, free
 
Book Mark/Share this site at BlinkBits BlinkList Blogmarks co.mments Delicious Digg Fark Furl it! Google Ma.gnolia Netvouz NewsVine RawSugar Reddit Shadows Simpy Stumble Technorati YahooMyWeb

Copyright © 2000- 2007 Lay Networks All rights reserved. 
This website is best viewed in Firefox 1.0.1 above.

Web Hosting sponsored by Customized Software Company India
Web Site Designed by Web Designing, Flash Animation, Multimedia Presentations, Broacher/catalogue designing, Web Promotion 
Refer to your freind About Us Legal IGNOU Contact Us Feedback Donate to laynetworks.com Download Management Tutorials Tutorials History Search here