Professional Documents
Culture Documents
GROUP MEMBERS
NAME ID
1 ABDELMEJID FEDLU CIR/101/11
2 SYOUM DEBEBE CIR/182/11
3 HIDAYA SIMENEH CIR/432/11
1 identify organization and formulate self-explanatory project
title.
booked.
Passengers can booked their tickets for the main train in which seats are
available.
For this, passenger has to provide the desired train number and the date
for which ticket is to be booked. Before booking a ticket for a passengers,
the validity of train number and booking date is checked. Once the train
number and booking date are validated, it is checked weather the seat is
available. If yes, the ticket is booked with confirm status and corresponding
ticket ID is generated which is stored along with other details of the
passengers. The ticket once booked can be cancelled at any time. For this,
the passengers has to provide the ticket ID (unique key). The ticket ID is
searched and the corresponding record is deleted with this, the first ticket
with waiting status also gets confirmed.
That can apply to people processes corporative behavior and computing system in an
organization
And put in place to help the organization achieve its goals. it is arule which The organisation
follows
PASSENGER Passenger id
Name
Gender
Age
Seat_no
Booked_by
Reservation status
TRAIN Train_no
Train_name
Source
Destination
Arrival_time
Departure_time
Availability_of_seats
STATION Station_no
Name
Train_no
Arrival_time
hault
TICKET Ticket_id
Train_no
Booked_employee
Status
No_of_passenger
9 identify the entities candidate key, primary key, foreign key, composite
key, and surrogate key.
ENTITES Candidate key Primary Foreign Composi Surrogate key
key key te key
EMPLOYE Employee_id Employee NULL Address Employee_id
Mobile_no _id name Age
Mobile_no
referential integrity
The referential integrity constraint is specified
between two relations and is used to maintain the
consistency among tuples in the two relations
❖ Records cannot be inserted into a detail table if
corresponding records in the master table do not exist.
❖ Records of the master table cannot be deleted if
corresponding records in the detail table exist
In our project employee has parent table and
passenger has child table
Records cannot be inserted into a passenger
table if corresponding records in the employee
table do not exist.
Records of the employee table cannot be
deleted if corresponding records in the passenger
table exist
And also train has parent table and station has
child table
Records cannot be inserted into a station table if
corresponding records in the train table do not
exist.
Records of the train table cannot be deleted if
corresponding records in the station table exist
etc.
domain integrity
No value of the attribute should be
beyond the allowable limits. Domains
are used in the relational model to
define the characteristics of the
columns of a table.
In our project all attribute must take
allowable value example age has value
of positive integer gender has value of
male or female name has take letter
varchar(45).
null integrity
Represents a value for an attribute that is
currently unknown or is not applicable for
this tuple
When we cannot assign the value of
attribute in our project then so the value of
attribute is unknown temporarly.