0% found this document useful (0 votes)
18 views

DMS K Scheme report

The microproject focuses on developing a Railway Ticket Booking System as a practical application of database management systems (DBMS). It aims to enhance students' understanding of database design, SQL operations, and security measures while providing hands-on experience in creating a functional database. The project involves various methodologies including schema development, data manipulation, and implementing security protocols, ultimately preparing students for real-world applications in railway ticketing services.

Uploaded by

adityapandji1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

DMS K Scheme report

The microproject focuses on developing a Railway Ticket Booking System as a practical application of database management systems (DBMS). It aims to enhance students' understanding of database design, SQL operations, and security measures while providing hands-on experience in creating a functional database. The project involves various methodologies including schema development, data manipulation, and implementing security protocols, ultimately preparing students for real-world applications in railway ticketing services.

Uploaded by

adityapandji1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

MICROPROJECT REPORT

Database Management System (313302)

RAILWAY TICKET BOOKING SYSTEM


1.0 RATIONALE
The microproject on "Railway Ticket Booking System" is designed to provide hands-on experience in developing
a database management system (DBMS) for real-world applications. The railway ticket booking system is a
critical application that requires robust data management, ensuring that passengers can seamlessly book
tickets, manage bookings, and retrieve necessary information. This microproject helps in understanding key
database concepts like data organization, relational integrity, and SQL operations in a practical context.

2.0 AIMS AND BENEFITS OF THE MICROPROJECT

The primary aim of this microproject is to design and implement a functional database system that manages
railway ticket bookings efficiently. The project aims to develop students' understanding of:

 Database design and normalization processes.


 SQL operations including DDL, DML, DCL, and PL/SQL.
 Schema development.
 Database security measures such as user access control.

Benefits:

 Enhanced understanding of how database systems function in real-world applications.


 Practical exposure to using SQL and PL/SQL to manage and manipulate data.
 Gaining skills in implementing security protocols in databases.

3.0 COURSE OUTCOMES ADDRESSES


CO1 - Explain concept of database management system.
CO2 - Design the database for given problem.
CO3 - Manage database using SQL.
CO4 - Implement PL/SQL codes for given application.
CO5 - Apply security and backup methods on database.

4.0 ACTUAL METHODOLOGY FOLLOWED

1. Entities of database and their attributes along with data types were identified
2. Development of schema diagram based on entities and attributes.
3. Creation of a relational database by creating tables with minimum 5 records.
4. DDL commands like alter, rename, truncate and drop on a single table was executed
5. Enforcement of Parent-Child Relationship (Foreign Key) on two tables from the database.
6. DML commands like select, insert, update, delete was performed on a single table.
7. Aggregate functions and JOIN Clause were implemented on the table
8. Advanced SQL (VIEW) & PL/SQL (Cursor) were implemented respectively.
9. DCL commands like grant and revoke was successfully executed.
5.0 Actual resources used:
Sr. no Name of resources / Specifications Quantity
material
1. Computer System Windows 10, 4GB RAM 1
2. MySQL Software Database 1
Management Software
3. Oracle 10g Express Version 8.0 1
Edition

6.0 Output of the Micro project :


1. Entites of database and their attributes along with their identified datatypes:
 An entity can be a real-world object, either animate or inanimate, that can be easily
identifiable.
 Entities are represented by means of their properties, called attributes.

2. Schema Structure:

Entities Attributes
Passenger info  PID
 P_name
 P_gender
 P_age
 P_addr
 P_contact
Bill  BID
 B_date
 Total
 PID
 Ticket_number
Ticket info  Ticket_number
 Ticket_type
 Ticket_price
 Train_number
Train info  Train_number
 T_name
 D_location
 D_time
 D_date
 A_location
Route info  RID
 R_name
 No_of_stops

3. Schema Diagram:
4. DDL:

 DDL stands for Data Definition Language.


 It used for describing structures or patterns and its relationship in a database.

1) Create-
 This command is used to create the database or its objects (like table, index, function, views, store
procedure and triggers.

2) Alter-
 This is used to alter the structure of the database.
3) Rename-
 This is used to rename an object existing in the database.

5. DML:

 DML stands for Data Manipulation Language.


 It is used to manipulate the data/content present in the table within the database.

1) Select-

 It is used to retrieve data from the database.


 Also it can be used with a where clause.
2) Insert-
 It is used to add data into a table.
3) Update-
 It is used to modify existing data in a table.

6. DCL:

 DCL stands for Data Control Language.


 It is used to enforce database security in a multiple user database environment.

1) Grant-
 It is used to give access or privilege to a specific database user.
2) Revoke-
 It is used to take back the access or privilege given to a specific database user.

7. TCL:

 TCL stands for Transaction Control Language.


 It can be grouped into a logical transaction and used to run the changes made by the DML commands in
the database.

1) Commit-
 It ends the current transaction and makes permanent changes to transaction.

2)Rollback-

 It stores the database to last commited state.

3)Savepoint-

 It marks and saves the current point of transaction.

7.0 Skills developed


 Proficiency in SQL and PL/SQL operations.
 Ability to design relational databases with integrity constraints.
 Problem-solving skills while implementing complex queries.
 Familiarity with database security practices and permission management.
8.0 Application of Micro project
The Railway Ticket Booking System can be applied in real-world railway networks where efficient data management
is necessary for ticketing services. The system can be further scaled and customized to meet the demands of larger
railway networks or integrated with other transportation services.

You might also like