SlideShare a Scribd company logo
1 of 11
Download to read offline
HOP
7th Dec 2017 Holiday Outing Planned
HOP
Page 1
HOP
H O L I DAY O U T I N G P L A N N E D
OMIS 652
BUSINESS APPLICATIONS OF DATABASE MANAGEMENT SYSTEM
• PRAVEEN CHANDER RAMESH – Z1828096
• MOHAN BABU CHANDRASEKHAR – Z1835976
• NAVEEN KRISHNAMOORTHY – Z1829437
• MANIKANTA KUMAR CHEKURI – Z1829298
HOP
Page 2
TABLE OF CONTENTS
• ABSTRACT----------------------------------------------------------------------------------------------------- 3
• ER DIAGRAM------------------------------------------------------------------------------------------------- 4
• ASSUMPTIONS------------------------------------------------------------------------------------------------ 5
• DATABASE DIAGRAM---------------------------------------------------------------------------------------- 6
• QUERIES-------------------------------------------------------------------------------------------------------- 7
HOP
Page 3
ABSTRACT
HOP is a travel agency. This agency has a database in place to manage and store all the required
information of several processes. HOP has its branches in several locations of the country.
HOP has its own website and a mobile app to facilitate its services to the customers. The major services
offered by HOP are as follows:
1) Airline ticketing service
2) Railways ticketing service
3) Hotel booking service
4) Tours services
A customer can visit HOP’s website or access the mobile app of HOP to book tickets online for any of the
services described above. A customer can also walk in to a nearby HOP travel agency to get one’s tickets
booked with the help of a HOP’s employee. There is a payroll system for all the HOP’s employees, be it
employees maintaining website and online services or employees working at any of the agency’s branches.
Each employee belongs to either a specific location or is marked under online services in location if one
works for online system and does not belong to any of the HOP’s branches.
Each of the customer’s information such as phone number, address etc., is tracked from customer table in
the database. HOP offers several different coupons to its customers during holiday and festive seasons.
Each offer redeemed by the customer is tracked from an offers table.
Each booking of the customer is tracked by a booking ID. There exists a feedback table to store the
feedback provided by the customer. A booking status, whether the ticket has been reserved or cancelled,
is tracked through the Booking table. The payment for the service can be done either online through card
payment and net banking or through cash at the counter at one of the branches of the agency. All the
payment details are tracked from the payment table.
Each of the services such as airline, railways, hotel and tours booking are managed by separate tables to
track the specific information regarding the services such as airline number, hotel address, train number,
cost of tour packages etc.
The feedback of the customer, payment details, booking status, customers and service details can be
tracked by navigating through a centralized booking ID.
HOP
Page 4
ER DIAGRAM
HOP
Page 5
ASSUMPTIONS
• Online services technical team will be tracked by one of the HOP’s locations.
• An employee works at one location only.
• Two or more employees/customers can have the same address.
• Payrolls of employees are taken only for the month of January 2017.
HOP
Page 6
DATABASE DIAGRAM
HOP
Page 7
QUERIES
1- Display booking id with customer details of those bookings which avails more than one service
select b.booking_id,b.Customer_ID, FirstName, LastName, Email, Phone, Customer_Details
from HOP_Bookings b, HOP_Service_Bookings sb, HOP_Customers c
where b.Booking_ID=sb.Booking_ID and b.Customer_ID=c.Customer_ID
group by b.Booking_ID, b.Customer_ID, FirstName, LastName, Email, Phone, Customer_Details
having COUNT(sb.Service_ID)>1
2- What are the booking ids with service ratings more than 3?
select b.Booking_ID
from HOP_Bookings b, HOP_Feedback_System fs
where b.Booking_ID=fs.Booking_ID and Service_Rating>3
3- Who are those employees having more than 1 payroll per month?
select employee_id
from HOP_Payroll
group by Employee_ID
having COUNT(Employee_ID) >1
4- Who are the employees having an increment of 1000?
select distinct employee_id
from HOP_Payroll
where Incentive_Type like '1000 increment'
5- Mention the service names and the total number of services booked under them?
select service_details, COUNT(Service_Details) as Total_Numbers_Booked
HOP
Page 8
from HOP_Services
group by Service_Details
6- What are those services offered between June 1st 2017 and December 31st 2017?
select sb.service_id, service_details
from HOP_Service_Bookings sb, HOP_Services s
where Booking_Start_Date between '1/6/2017' and '12/31/2017' and sb.Service_ID=s.Service_ID
7- what are the hotels having 4 star rating?
select hotel_id
from HOP_Hotels
where Hotel_Details like '4 star'
8- Provide the airline details of those airlines that come under regular category
select *
from HOP_Airlines
where Airline_Details like 'Regular'
9- Provide the railways details of rail routes that do not belong to the regular.
select *
from HOP_Railways
where Railway_Details not like 'Regular'
10- Provide the tour details of those tours that belong to weekend trip category
select *
from HOP_Tours
where Tour_Details like 'Weekend trip%'
HOP
Page 9
11- Provide details of new users
select *
from HOP_Customers
where Customer_Details like 'New user'
12- Provide the IDs of offers that are open
select offer_id
from HOP_Customer_Offer
where Status='Open'
13- Show all the offer details that are not BOGO
select *
from HOP_Offers
where Offer_Description not like 'Bogo Offer'
14- For all the confirmed bookings, what is the amount paid?
select b.booking_id,Payment_amount from HOP_Bookings b, HOP_Payments p
where b.Booking_ID=p.Booking_ID and b.Booking_Status='Confirmed'
15- Give the employee ID and corresponding address of those employees whose basic salary is 6000
select ea.employee_id, a.Address_ID,a.StreetAddress,a.City,a.State
from HOP_Employee e, HOP_Employee_Address ea, HOP_Payroll p, HOP_Addresses a
where ea.Employee_ID=e.Employee_ID and e.Employee_ID=p.Employee_ID and
ea.Address_ID=a.Address_ID and Basic_Salary =6000
16- Provide the details of employees working in Chicago?
select *
from HOP_Employee
HOP
Page 10
where Location_ID like (select Location_ID from HOP_Location where City like 'Chicago')
17- What are the agencies that has a rating of more than 3?
select *
from HOP_Agency
where Agency_Rating>3
18- In what states does HOP operate apart from New York and California?
select State
from HOP_Location
where State not like 'New York' and State not like 'California'
19- What is the first and last name of those employees who are team leaders?
select FirstName, LastName
from HOP_Employee
where Designation like 'Team Leader'
20- What are the total number of credit payments?
select COUNT(Payment_ID) as TotaNumberOfPaymentsInCredit
from HOP_Payments
where Payment_Methodology='Credit Card'

More Related Content

What's hot

Bus Ticket Management System Documentation
Bus Ticket Management System DocumentationBus Ticket Management System Documentation
Bus Ticket Management System Documentation
muzammil siddiq
 
Courier project abstract
Courier project abstractCourier project abstract
Courier project abstract
Rahul Chanda
 
Online Bus Ticket Reservation System
Online Bus Ticket Reservation SystemOnline Bus Ticket Reservation System
Online Bus Ticket Reservation System
Tuvshinbayar Davaa
 

What's hot (20)

Airline ticket reservation system
Airline ticket reservation systemAirline ticket reservation system
Airline ticket reservation system
 
Cab booking system india
Cab booking system indiaCab booking system india
Cab booking system india
 
Student Management System Project Abstract
Student Management System Project AbstractStudent Management System Project Abstract
Student Management System Project Abstract
 
Airline Database Design
Airline Database DesignAirline Database Design
Airline Database Design
 
us reservation System Report
us reservation System Reportus reservation System Report
us reservation System Report
 
Student database management system
Student database management systemStudent database management system
Student database management system
 
Student Information System (SIS) in PHP
Student Information System (SIS) in PHPStudent Information System (SIS) in PHP
Student Information System (SIS) in PHP
 
Ems final project mca 6th
Ems final project mca 6thEms final project mca 6th
Ems final project mca 6th
 
Final document project1
Final document project1Final document project1
Final document project1
 
Database Project Airport management System
Database Project Airport management SystemDatabase Project Airport management System
Database Project Airport management System
 
student management system.pdf
student management system.pdfstudent management system.pdf
student management system.pdf
 
Student management system
Student management systemStudent management system
Student management system
 
ONLINE BUS BOOKING SYSTEM
ONLINE BUS BOOKING SYSTEMONLINE BUS BOOKING SYSTEM
ONLINE BUS BOOKING SYSTEM
 
Bus Ticket Management System Documentation
Bus Ticket Management System DocumentationBus Ticket Management System Documentation
Bus Ticket Management System Documentation
 
Online school mangment system
Online school mangment system Online school mangment system
Online school mangment system
 
Synopsis gor online Tourism.
Synopsis gor online Tourism.Synopsis gor online Tourism.
Synopsis gor online Tourism.
 
Courier project abstract
Courier project abstractCourier project abstract
Courier project abstract
 
Online Bus Ticket Reservation System
Online Bus Ticket Reservation SystemOnline Bus Ticket Reservation System
Online Bus Ticket Reservation System
 
Airline reservation system
Airline reservation systemAirline reservation system
Airline reservation system
 
TOURISM AND TRAVELLING MANAGEMENT SYSTEM
TOURISM AND TRAVELLING MANAGEMENT SYSTEMTOURISM AND TRAVELLING MANAGEMENT SYSTEM
TOURISM AND TRAVELLING MANAGEMENT SYSTEM
 

Similar to Database System for online Travel booking System.

Santosh Mane_Resume
Santosh Mane_ResumeSantosh Mane_Resume
Santosh Mane_Resume
Santosh Mane
 
Amith Xavier updated
Amith Xavier updatedAmith Xavier updated
Amith Xavier updated
amith xavier
 
Fico t codes with description
Fico t codes with descriptionFico t codes with description
Fico t codes with description
Amith Sanghvi
 
Fico t codes with description
Fico t codes with descriptionFico t codes with description
Fico t codes with description
Amith Sanghvi
 

Similar to Database System for online Travel booking System. (20)

Presentation1 1
Presentation1 1Presentation1 1
Presentation1 1
 
E space abstract
E   space abstractE   space abstract
E space abstract
 
Bank Master Data, House bank, APP and DMEE.docx
Bank Master Data, House bank, APP and DMEE.docxBank Master Data, House bank, APP and DMEE.docx
Bank Master Data, House bank, APP and DMEE.docx
 
Santosh Mane_Resume
Santosh Mane_ResumeSantosh Mane_Resume
Santosh Mane_Resume
 
FINAL-Review
FINAL-ReviewFINAL-Review
FINAL-Review
 
Customer account creation API & query
Customer account creation API & queryCustomer account creation API & query
Customer account creation API & query
 
171846965 projects
171846965 projects171846965 projects
171846965 projects
 
Vendor payments configuration
Vendor payments configurationVendor payments configuration
Vendor payments configuration
 
Bank management system
Bank management systemBank management system
Bank management system
 
Amith Xavier updated
Amith Xavier updatedAmith Xavier updated
Amith Xavier updated
 
How to Generate E-Way Bill
How to Generate E-Way BillHow to Generate E-Way Bill
How to Generate E-Way Bill
 
Resume
ResumeResume
Resume
 
Dora ppt3(fico)
Dora ppt3(fico)Dora ppt3(fico)
Dora ppt3(fico)
 
Payment and Cards - A Basic Overview
Payment and Cards - A Basic OverviewPayment and Cards - A Basic Overview
Payment and Cards - A Basic Overview
 
SAP S4HANA Billing and E-Invoicing for Customer Payments
SAP S4HANA Billing and E-Invoicing for Customer Payments SAP S4HANA Billing and E-Invoicing for Customer Payments
SAP S4HANA Billing and E-Invoicing for Customer Payments
 
Fico t codes with description
Fico t codes with descriptionFico t codes with description
Fico t codes with description
 
Fico t codes with description
Fico t codes with descriptionFico t codes with description
Fico t codes with description
 
Travel Agency Automation
Travel Agency Automation Travel Agency Automation
Travel Agency Automation
 
Ap ar questions
Ap ar questionsAp ar questions
Ap ar questions
 
Ap ar questions
Ap ar questionsAp ar questions
Ap ar questions
 

Recently uploaded

➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men 🔝mahisagar🔝 Esc...
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men  🔝mahisagar🔝   Esc...➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men  🔝mahisagar🔝   Esc...
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men 🔝mahisagar🔝 Esc...
amitlee9823
 
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
amitlee9823
 
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
amitlee9823
 
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
only4webmaster01
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
amitlee9823
 
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get CytotecAbortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night StandCall Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
amitlee9823
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
amitlee9823
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
amitlee9823
 
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
amitlee9823
 
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
amitlee9823
 

Recently uploaded (20)

Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
 
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men 🔝mahisagar🔝 Esc...
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men  🔝mahisagar🔝   Esc...➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men  🔝mahisagar🔝   Esc...
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men 🔝mahisagar🔝 Esc...
 
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
 
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
Anomaly detection and data imputation within time series
Anomaly detection and data imputation within time seriesAnomaly detection and data imputation within time series
Anomaly detection and data imputation within time series
 
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
 
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24  Building Real-Time Pipelines With FLaNKDATA SUMMIT 24  Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
 
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get CytotecAbortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get Cytotec
 
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night StandCall Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
 
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
 
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
 
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
Detecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning ApproachDetecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning Approach
 

Database System for online Travel booking System.

  • 1. HOP 7th Dec 2017 Holiday Outing Planned
  • 2. HOP Page 1 HOP H O L I DAY O U T I N G P L A N N E D OMIS 652 BUSINESS APPLICATIONS OF DATABASE MANAGEMENT SYSTEM • PRAVEEN CHANDER RAMESH – Z1828096 • MOHAN BABU CHANDRASEKHAR – Z1835976 • NAVEEN KRISHNAMOORTHY – Z1829437 • MANIKANTA KUMAR CHEKURI – Z1829298
  • 3. HOP Page 2 TABLE OF CONTENTS • ABSTRACT----------------------------------------------------------------------------------------------------- 3 • ER DIAGRAM------------------------------------------------------------------------------------------------- 4 • ASSUMPTIONS------------------------------------------------------------------------------------------------ 5 • DATABASE DIAGRAM---------------------------------------------------------------------------------------- 6 • QUERIES-------------------------------------------------------------------------------------------------------- 7
  • 4. HOP Page 3 ABSTRACT HOP is a travel agency. This agency has a database in place to manage and store all the required information of several processes. HOP has its branches in several locations of the country. HOP has its own website and a mobile app to facilitate its services to the customers. The major services offered by HOP are as follows: 1) Airline ticketing service 2) Railways ticketing service 3) Hotel booking service 4) Tours services A customer can visit HOP’s website or access the mobile app of HOP to book tickets online for any of the services described above. A customer can also walk in to a nearby HOP travel agency to get one’s tickets booked with the help of a HOP’s employee. There is a payroll system for all the HOP’s employees, be it employees maintaining website and online services or employees working at any of the agency’s branches. Each employee belongs to either a specific location or is marked under online services in location if one works for online system and does not belong to any of the HOP’s branches. Each of the customer’s information such as phone number, address etc., is tracked from customer table in the database. HOP offers several different coupons to its customers during holiday and festive seasons. Each offer redeemed by the customer is tracked from an offers table. Each booking of the customer is tracked by a booking ID. There exists a feedback table to store the feedback provided by the customer. A booking status, whether the ticket has been reserved or cancelled, is tracked through the Booking table. The payment for the service can be done either online through card payment and net banking or through cash at the counter at one of the branches of the agency. All the payment details are tracked from the payment table. Each of the services such as airline, railways, hotel and tours booking are managed by separate tables to track the specific information regarding the services such as airline number, hotel address, train number, cost of tour packages etc. The feedback of the customer, payment details, booking status, customers and service details can be tracked by navigating through a centralized booking ID.
  • 6. HOP Page 5 ASSUMPTIONS • Online services technical team will be tracked by one of the HOP’s locations. • An employee works at one location only. • Two or more employees/customers can have the same address. • Payrolls of employees are taken only for the month of January 2017.
  • 8. HOP Page 7 QUERIES 1- Display booking id with customer details of those bookings which avails more than one service select b.booking_id,b.Customer_ID, FirstName, LastName, Email, Phone, Customer_Details from HOP_Bookings b, HOP_Service_Bookings sb, HOP_Customers c where b.Booking_ID=sb.Booking_ID and b.Customer_ID=c.Customer_ID group by b.Booking_ID, b.Customer_ID, FirstName, LastName, Email, Phone, Customer_Details having COUNT(sb.Service_ID)>1 2- What are the booking ids with service ratings more than 3? select b.Booking_ID from HOP_Bookings b, HOP_Feedback_System fs where b.Booking_ID=fs.Booking_ID and Service_Rating>3 3- Who are those employees having more than 1 payroll per month? select employee_id from HOP_Payroll group by Employee_ID having COUNT(Employee_ID) >1 4- Who are the employees having an increment of 1000? select distinct employee_id from HOP_Payroll where Incentive_Type like '1000 increment' 5- Mention the service names and the total number of services booked under them? select service_details, COUNT(Service_Details) as Total_Numbers_Booked
  • 9. HOP Page 8 from HOP_Services group by Service_Details 6- What are those services offered between June 1st 2017 and December 31st 2017? select sb.service_id, service_details from HOP_Service_Bookings sb, HOP_Services s where Booking_Start_Date between '1/6/2017' and '12/31/2017' and sb.Service_ID=s.Service_ID 7- what are the hotels having 4 star rating? select hotel_id from HOP_Hotels where Hotel_Details like '4 star' 8- Provide the airline details of those airlines that come under regular category select * from HOP_Airlines where Airline_Details like 'Regular' 9- Provide the railways details of rail routes that do not belong to the regular. select * from HOP_Railways where Railway_Details not like 'Regular' 10- Provide the tour details of those tours that belong to weekend trip category select * from HOP_Tours where Tour_Details like 'Weekend trip%'
  • 10. HOP Page 9 11- Provide details of new users select * from HOP_Customers where Customer_Details like 'New user' 12- Provide the IDs of offers that are open select offer_id from HOP_Customer_Offer where Status='Open' 13- Show all the offer details that are not BOGO select * from HOP_Offers where Offer_Description not like 'Bogo Offer' 14- For all the confirmed bookings, what is the amount paid? select b.booking_id,Payment_amount from HOP_Bookings b, HOP_Payments p where b.Booking_ID=p.Booking_ID and b.Booking_Status='Confirmed' 15- Give the employee ID and corresponding address of those employees whose basic salary is 6000 select ea.employee_id, a.Address_ID,a.StreetAddress,a.City,a.State from HOP_Employee e, HOP_Employee_Address ea, HOP_Payroll p, HOP_Addresses a where ea.Employee_ID=e.Employee_ID and e.Employee_ID=p.Employee_ID and ea.Address_ID=a.Address_ID and Basic_Salary =6000 16- Provide the details of employees working in Chicago? select * from HOP_Employee
  • 11. HOP Page 10 where Location_ID like (select Location_ID from HOP_Location where City like 'Chicago') 17- What are the agencies that has a rating of more than 3? select * from HOP_Agency where Agency_Rating>3 18- In what states does HOP operate apart from New York and California? select State from HOP_Location where State not like 'New York' and State not like 'California' 19- What is the first and last name of those employees who are team leaders? select FirstName, LastName from HOP_Employee where Designation like 'Team Leader' 20- What are the total number of credit payments? select COUNT(Payment_ID) as TotaNumberOfPaymentsInCredit from HOP_Payments where Payment_Methodology='Credit Card'