Professional Documents
Culture Documents
abstract:
The Travel Booking System is a comprehensive and efficient solution
designed to streamline the process of booking various travel-related
services such as flights, hotels, car rentals, and tours. This system leverages
the power of Structured Query Language (SQL) to manage and organize
the data required for seamless travel planning and booking. By offering a
user-friendly interface and advanced features, the system aims to enhance
the overall travel experience for users.
Database schema:
1. Users Table:
UserID (Primary Key)
Username
Email
Password (Hashed)
First Name
Last Name
Phone Number
Address
...
2. Airlines Table:
AirlineID (Primary Key)
Airline Name
...
3. Airports Table:
AirportID (Primary Key)
Airport Code
City
Country
...
4. Flights Table:
FlightID (Primary Key)
AirlineID (Foreign Key)
Departure AirportID (Foreign Key)
Arrival AirportID (Foreign Key)
Departure Time
Arrival Time
Price
...
5. Hotels Table:
HotelID (Primary Key)
Hotel Name
Location
Rating
Price Per Night
...
6. Rooms Table:
RoomID (Primary Key)
HotelID (Foreign Key)
Room Type
Capacity
Price
...
7. Bookings Table:
BookingID (Primary Key)
UserID (Foreign Key)
FlightID (Foreign Key, nullable)
HotelID (Foreign Key, nullable)
RoomID (Foreign Key, nullable)
Booking Date
Total Amount
...
8. Payments Table:
PaymentID (Primary Key)
BookingID (Foreign Key)
Payment Date
Amount
Payment Method
...
9. Reviews Table:
ReviewID (Primary Key)
UserID (Foreign Key)
HotelID (Foreign Key, nullable)
FlightID (Foreign Key, nullable)
Rating
Review Text
...
10.UserPreferences Table:
UserID (Primary Key, Foreign Key)
Preferred AirlineID (Foreign Key, nullable)
Preferred Departure AirportID (Foreign Key, nullable)
Preferred Arrival AirportID (Foreign Key, nullable)
...
11.SupportTickets Table:
TicketID (Primary Key)
UserID (Foreign Key)
Ticket Date
Issue Description
Status
...