Sie sind auf Seite 1von 18

2012

DBMS of Transport
Company

Data

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.

Reliability

Customer
Satisfaction

MBA 3rd B

Federal Urdu University


of Arts, Science & Technology

Submitted to Sir Nasim Qaiser

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,

MSWord,
Excel
Windows
Server 2008

PL/SQL
Microsft
Windows
Xp,Vista,7

Oracle

Operating System
Back end
PL/SQL
MS Office Tools
Front End Visual Basic

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

E-Tag
Number

Route
Number

BUS

Bus
Number

Owner

Ownership

Name
Address

Contact
Number

Bus
Number

Relation between Owner and Government:-

Tax No.

Dept.
Name

Owner No.

Licenses
Government

Owner No.

OWNER

Owner
name

Owner
address

Relation between Bus and Passenger


Passenger
Name

Bus no.

Passenger
Number

Travel

Passenger

Bus Route
name

Bus

Bus Route
name

Baggage

Relation between Agent and Owner:-

Address

Phone

Number

Collection

Owner

Name

Address

Number

Agent

Name

Phone

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

It shows the baggage items

: Varchar(20)

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

Bus no

: Varchar2(7) Bus no that has owner

3. Government: Keep record of username or password

s.no.

Field name

Data type

Description

Deptno.

Varchar2(15)

Show the dept.


no.

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
: varchar(7)

Description

1.

Busno

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

Aname

Varchar2(15)

Agent name

Aaddress

Varchar2(30)

Address of agent

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
Busno
Bodyno
Routename

TYPE
VARCHAR2(10)
VARCHAR2(8)
Varchar2(20)

TABLE: Passenger
NAME
Pno
Pname
ADDRESS
Routename

TYPE
VARCHAR2(15)
Varchar2(30)
VARCHAR2(30)
Varchar2(23)

TABLE: Owner
NAME
Ownerno
NAME
Address
Mobileno
Busno

TYPE
Varchar2(11)
VARCHAR2(30)
VARCHAR2(40)
number(10)
VARCHAR2(10)

TABLE: Agent
NAME
Aname
Aaddress
Ano

TYPE
Varchar2(15)
VARCHAR2(30)
VARCHAR2(40)

TABLE: Government

NAME
Deptname
Ownerno
Taxno

TYPE
Varchar2(15)
Varchar2(30)
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
Islamabad,77886655,lhr3245);

values

(10810085,Salman

Abid,12/3

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
Faisalabad,8456721,lhr9843);

(10812344,

Khalid

Khan,

12,main

Owner
no

NAME

ADDRESS

Contact Number

Bus
Number

10802432

Asad Ali

17/2 Rawalpindi

88776655

Lhr1234

10810085

12/3, Islamabad

77886655

Lhr3245

10802343

Salman
Abid
Khalid

12/2 Lahore

88221133

Lhr6732

108968

Ali

19/2 Ravi Road Lahore

77646321

Lhr6534

10812344

Khalid
Khan

12,
Main
Faisalabad

8456721

Lhr9843

Output:
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.

road

road

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.

Das könnte Ihnen auch gefallen