View
3.382
Download
2
Category
Tags:
Preview:
Citation preview
DBMS of Transport Company Project by Awais Ali (@_AwaisAli ) Study in depth analysis of the new transport service named Bilal Travel Lahore the organization uses the database systems to make the work more efficient error free & more reliable.
2012
Submitted to Sir Nasim Qaiser
Data
Reliability
Customer
Satisfaction
MBA 3rd B Federal Urdu University
of Arts, Science & Technology
Introduction
Traveling is a large growing business. It becomes very difficult to keep records for large
number of items, customers and calculating bills. This project is about to study the DBMS of the
organization so we study the DBMS of Bilal Travels-Daewoo Pakistan Express Bus Service Ltd
with its Headquarters in Lahore is operating its service in Lahore, Islamabad, Rawalpindi, and
Faisalabad. We observed the working of the other Bus reservation system and after going
through it, we get to know that there are many operations, which they have to do manually. It
takes a lot of time and cause many errors. Due to this, sometimes a lot of problems occur and
they were facing many disputes with customers. Bilal Travels uses a Database Management
System according to the present technological & informational era, with this system this
organization maintain records of items, seat availability for customers, price of per/seat, bill
generation, cargo services, online booking & E-tag.
The Fleet
First time in Pakistan latest models of
transport with security systems & offering
great features for the customer,
* Refreshment
* Passenger Insurance
* Islamabad Pickup & Drop Shuttle Service
* Tracker System
* E-Tag
* Online Booking
* Cargo Service
* Full A/C Waiting Hall
DBMS for Bilal Travel as Competitive Edge
Objective of this system is to computerize any traveling company to manage data, so
that all the transactions become fast and there should not be any error in transactions like
calculation mistake, bill generation and other things. It replaces all the paper work. It keeps
records of all the bills also, given to the customers, so that user could update his daily accounts.
Record for the E-tag, Online Bookings almost care and back-up procedures must be established
to ensure 100% successful implementation of the computerized Bus reservation system.
Organization Uses following software to manage secure database,
Oracle
Microsft Windows Xp,Vista,7
Windows Server 2008
PL/SQL
MS-Word, Excel
Visual Basic
Operating System
Back end PL/SQL
MS Office Tools
Front End Visual Basic
DBMS Compared with Manual System
Drawbacks of Manual system:
Existing system is totally on book and thus a great amount of manual work has to be
done. With the increase of manual work in Bus services and information needs,
automation was necessary.
Needs a lot of working staff and extra attention on all the records.
In existing system, there are various problems like keeping records of items, seat
available, prices of per/seat and fixing bill generation on each bill.
Finding out the details regarding any information was very difficult, as the user has to go
through all the books thoroughly.
Major problem was the lack of security check that was must to be applied.
Advantage of the Software
This software is working with its employee very easy.it has facility to save data in its software.
Only write the command the data will save automatically. We can save record in the daily basic
work that a daily basic employee and monthly basic employee, purchase of goods and parts.
This software is work on query that is perform by the user and perform by the administrator.it
is easy to query for database.
Relation between Owner and Bus
Relation between Owner and Government:-
Route Number
E-Tag Number
Bus Number
BUS Ownership Owner
Name
Address
Bus
Number Contact
Number
Licenses
Government OWNER
Owner No.
Owner
name
Owner
address
Tax No.
Dept.
Name
Owner No.
Relation between Bus and Passenger
Relation between Agent and Owner:-
Travel Bus Passenger
Passenger
Number
Baggage
Passenger
Name
Bus Route
name
Bus Route
name
Bus no.
Owner Agent
Phone Number
Name Address
Address Number
Name Phone
Collection
Database Structure
FIVE tables have been used in this System
1. PASSANGER: Keeps record of bills.
S. No. Field Name Data type Description
1. PNO : VARCHAR2(15 Shows the NUMBER of Passenger
2. PNAME : Varchar(30) It shows NAME OF passenger
3. PADDRESS : Varchar2(20) It shows ADDRESS of passenger
4. routename : Varchar(20) It shows the ROUTE name
5. PBaggage : Varchar(20) It shows the baggage items
2. Owner: Keeps record of owner of record.
S. No. Field Name Data type Description
1. ownername : number(10) Name of owner
2. Ownerno : Varchar(20) Number of owner
3. Ownerphno : Number(10) Phone number of owner
4. Owneraddress : Varchar(34) Address of owner
5 Bus no : Varchar2(7) Bus no that has owner
3. Government: Keep record of username or password
s.no. Field name Data type Description
1 Deptno. Varchar2(15) Show the dept.
no.
2 Ownerno Varchar2(30) Show No. of
owner
3 Taxno Varchar2(40) Show the tax no.
4.BUS: Keeps record of username or password.
S. No. Field Name Data type Description
1. Busno : varchar(7) No. of bus
2. busroutename : Varchar(20) Route of the bus
5. AGENT: Keeps record of username or password.
S no. Field name Data type Description
1 Aname Varchar2(15) Agent name
2 Aaddress Varchar2(30) Address of agent
3 Ano Varchar2(20) No of agent
Table creation :-
Bus table
create table bus(Bus no. varchar2(10),body no. varchar2(8),route name varchar2(20));
Passenger table
create table passanger(pno varchar2(15),Pname varchar2(30),Paddess varchar2(30),routename
varchar2(23));
Agent table
create table agent(Aname varchar2(15),Aaddess varchar2(30),Ano varchar2(40));
Government table
create table government(deptname varchar2(15),ownerno varchar2(30),taxno varchar2(40));
Owner table
create table owner(ownerno varchar2(11),name varchar2(30),address varchar2(40),mobileno
number(20),busno varchar2(10));
View structure of the database:
Query:
Desc bus;
Desc passanger;
Desc owner;
Desc agent;
Desc government;
TABLE: BUS
NAME TYPE
Busno VARCHAR2(10)
Bodyno VARCHAR2(8)
Routename Varchar2(20)
TABLE: Passenger
NAME TYPE
Pno VARCHAR2(15)
Pname Varchar2(30)
ADDRESS VARCHAR2(30)
Routename Varchar2(23)
TABLE: Owner
NAME TYPE
Ownerno Varchar2(11)
NAME VARCHAR2(30)
Address VARCHAR2(40)
Mobileno number(10)
Busno VARCHAR2(10)
TABLE: Agent
NAME TYPE
Aname Varchar2(15)
Aaddress VARCHAR2(30)
Ano VARCHAR2(40)
TABLE: Government
NAME TYPE
Deptname Varchar2(15)
Ownerno Varchar2(30)
Taxno Varchar2(40)
Insert record into table: BUS
Query:
Insert into bus values (‘pb21 1234’, ‘br2315’,’lhr to rwp’);
Output:
1 row created.
Insert record into table: Passenger
Query:
Insert into passenger values (‘an1234’, ‘Ali’, ’12,sector-2,Lahore’, ‘lhr to rwp);
Output:
1 row created.
Insert record into table: Owner
Query:
Insert into owner values (‘10802432’, ‘Asad Ali’, ‘17/2 Rawalpindi’, 88776655,’lhr1234’);
Insert into owner values (10810085,‘Salman Abid’,’12/3
Islamabad’,77886655,’lhr3245’);
Insert into owner values (10802343, ‘Khalid’, ‘12/2 Lahore,88221133, ’lhr6732’);
Insert into owner values (108968, ‘Ali’, ‘19/2 Ravi Road Lahore’, 7646321,’lhr6534’);
Insert into owner values (10812344, ‘Khalid Khan, ’12,main road
Faisalabad’,8456721,’lhr9843’);
Owner no
NAME ADDRESS Contact Number Bus Number
10802432 Asad Ali 17/2 Rawalpindi 88776655 Lhr1234
10810085 Salman Abid
12/3, Islamabad 77886655 Lhr3245
10802343 Khalid 12/2 Lahore 88221133 Lhr6732
108968 Ali 19/2 Ravi Road Lahore 77646321 Lhr6534
10812344 Khalid Khan
12, Main road Faisalabad
8456721 Lhr9843
Output:
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
CONCLUSION
In this project we study the Bus reservation system. It is developed in visual basic and the
database has been built in PL/SQL only, keeping in mind the specifications of the system. Apart
from MS-Access the organization have also implemented other database software like Oracle or
SQL. For elaborating the system we have used simple data flow diagrams.
Overall the project teaches us the essential skills like:
1. Using system analysis and design techniques like data flow diagram in designing the
system.
2. Understanding programming logic and language along with utilities like reports, forms,
queries etc. in Visual Basic and PL/SQL.
Recommended