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

SQL FMS

The document outlines a Flight Management System (FMS) designed to manage and control flight operations, including scheduling, passenger management, and crew assignments. It details the database structure with tables for flights, passengers, bookings, aircraft, crew, crew assignments, maintenance history, and fuel inventory. The FMS aims to optimize flight operations and enhance service delivery in the aviation industry.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

SQL FMS

The document outlines a Flight Management System (FMS) designed to manage and control flight operations, including scheduling, passenger management, and crew assignments. It details the database structure with tables for flights, passengers, bookings, aircraft, crew, crew assignments, maintenance history, and fuel inventory. The FMS aims to optimize flight operations and enhance service delivery in the aviation industry.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

my sql – flight management system

Divyansh chittranshi
22WU0202019
MBA-BA|AI|ML
Abstract:

A Flight Management System (FMS) is a crucial component of aviation systems


used to manage and control flights. It assists airline operators, flight crews, and
air traffic controllers in planning, monitoring, and optimizing flight operations.
The FMS database plays a pivotal role in storing and managing data related to
flight schedules, passenger information, aircraft details, crew assignments, and
more.

Features:

Flight Scheduling:
Create and manage flight schedules, including departure and arrival times.
Allocate aircraft and crew to specific flights.

Passenger Management:
Store passenger details, including names, contact information, and booking
history.
Handle reservations, ticketing, and passenger check-in.

Aircraft Information:
Maintain aircraft details, such as registration, type, capacity, and maintenance
history. Track aircraft availability and status.

Crew Assignment:
Assign flight crew members to flights based on qualifications and availability.
Record crew schedules and duty times.

Route Planning:
Plan flight routes, waypoints, and alternate routes.
Consider factors like weather, air traffic, and fuel efficiency.

Flight Monitoring:
Monitor real-time flight progress, including position, altitude, and speed.
Receive alerts for deviations or emergencies.

Maintenance Tracking:
Record and track aircraft maintenance and servicing.
Schedule routine maintenance tasks.

Fuel Management:
Manage fuel inventory and consumption for each flight.
Calculate fuel requirements based on flight parameters.

Passenger Services:
Provide in-flight services such as meals, entertainment, and special requests.
Handle passenger complaints and requests.

Creating Database Queries


Flight Table:
CREATE TABLE Flights (FlightID INT PRIMARY KEY,
FlightNumber VARCHAR(10) UNIQUE,
DepartureAirport VARCHAR(50),
ArrivalAirport VARCHAR(50),
DepartureDateTime DATETIME,
ArrivalDateTime DATETIME,
AircraftID INT);

Passengers Table:
CREATE TABLE Passengers (PassengerID INT PRIMARY KEY,
FirstName VARCHAR(50),
LastName VARCHAR(50),
ContactNumber VARCHAR(15),
Email VARCHAR(100));

Bookings Table (for flight reservations):


CREATE TABLE Bookings (BookingID INT PRIMARY KEY,
FlightID INT,
PassengerID INT,
SeatNumber VARCHAR(10));

Aircraft Table:
CREATE TABLE Aircraft (AircraftID INT PRIMARY KEY,
RegistrationNumber VARCHAR(20) UNIQUE,
AircraftType VARCHAR(50),
Capacity INT);

Crew Table:
CREATE TABLE Crew (CrewID INT PRIMARY KEY,
FirstName VARCHAR(50),
LastName VARCHAR(50),
Position VARCHAR(50),
Qualifications VARCHAR(100));

CrewAssignments Table (for assigning crew to flights):


CREATE TABLE CrewAssignments (AssignmentID INT PRIMARY KEY,
FlightID INT,
CrewID INT,
DutyStartTime DATETIME,
DutyEndTime DATETIME);

MaintenanceHistory Table:
CREATE TABLE MaintenanceHistory (MaintenanceID INT PRIMARY KEY,
AircraftID INT,
MaintenanceDate DATETIME,
Description TEXT);
FuelInventory Table:
CREATE TABLE FuelInventory (FuelID INT PRIMARY KEY,
AircraftID INT,
FuelType VARCHAR(50),
Quantity DECIMAL(10, 2),);

You might also like