-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathairport db.sql
1457 lines (1331 loc) · 56.4 KB
/
airport db.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
-- phpMyAdmin SQL Dump
-- version 5.2.0
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: May 09, 2023 at 10:20 PM
-- Server version: 10.4.27-MariaDB
-- PHP Version: 8.2.0
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `airport db`
--
-- --------------------------------------------------------
--
-- Table structure for table `airlines`
--
CREATE TABLE `airlines` (
`airlines_id` int(11) NOT NULL,
`airlines_name` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `airlines`
--
INSERT INTO `airlines` (`airlines_id`, `airlines_name`) VALUES
(1, 'Aegean Airlines'),
(2, 'Sky Express'),
(3, 'British Airways'),
(4, 'Ryanair'),
(5, 'Air France'),
(6, 'Lufthansa'),
(7, 'American Airlines'),
(8, 'Turkish Airlines'),
(9, 'Qatar Airways'),
(10, 'KLM Royal Dutch Airlines'),
(11, 'Alitalia'),
(12, 'Air Canada'),
(13, 'Air India'),
(14, 'Japan Airlines'),
(15, 'Air China'),
(16, 'Air New Zealand'),
(17, 'Aer Lingus'),
(18, 'Air Malta'),
(19, 'Thai Airways'),
(20, 'Cathay Pacific'),
(21, 'Swiss International Air Lines'),
(22, 'China Eastern Airlines'),
(23, 'Singapore Airlines'),
(24, 'Etihad Airways'),
(25, 'Finnair'),
(26, 'Garuda Indonesia'),
(27, 'Iberia'),
(28, 'Korean Air'),
(29, 'LATAM Airlines'),
(30, 'Malaysia Airlines'),
(31, 'Norwegian Air Shuttle'),
(32, 'Oman Air'),
(33, 'Philippine Airlines'),
(34, 'SAS Scandinavian Airlines'),
(35, 'South African Airways'),
(36, 'TAP Air Portugal'),
(37, 'Vietnam Airlines'),
(38, 'Wizz Air'),
(39, 'Aeroflot'),
(40, 'Air Europa'),
(41, 'Air Mauritius'),
(42, 'Air Tahiti Nui'),
(43, 'Asiana Airlines'),
(44, 'Avianca'),
(45, 'Copa Airlines'),
(46, 'EgyptAir'),
(47, 'El Al'),
(48, 'EVA Air'),
(49, 'Gulf Air'),
(50, 'Royal Air Maroc');
-- --------------------------------------------------------
--
-- Table structure for table `crew`
--
CREATE TABLE `crew` (
`crews_id` int(11) NOT NULL,
`crew_name` varchar(255) DEFAULT NULL,
`crew_surname` varchar(255) NOT NULL,
`rank` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `crew`
--
INSERT INTO `crew` (`crews_id`, `crew_name`, `crew_surname`, `rank`) VALUES
(1, 'Nikos', 'Papadopoulos', 'Captain'),
(2, 'Maria', 'Gerekou', 'First Officer'),
(3, 'Panos', 'Katsaros', 'Captain'),
(4, 'Sophia', 'Constantinou', 'First Officer'),
(5, 'Michael', 'Brown', 'Captain'),
(6, 'Emily', 'Nguyen', 'First Officer'),
(7, 'George', 'Katsikaris', 'Captain'),
(8, 'Catherine', 'Smith', 'First Officer'),
(9, 'Christos', 'Papadakis', 'Captain'),
(10, 'Anna', 'Petrova', 'First Officer'),
(11, 'David', 'Jones', 'Captain'),
(12, 'Alexandros', 'Vasilopoulos', 'First Officer'),
(13, 'Lucas', 'Rodriguez', 'Captain'),
(14, 'Eleni', 'Vlachou', 'First Officer'),
(15, 'Thomas', 'Johnson', 'Captain'),
(16, 'Jasmine', 'Kim', 'First Officer'),
(17, 'Costas', 'Georgiou', 'Captain'),
(18, 'Jenna', 'Thompson', 'First Officer'),
(19, 'Spyridon', 'Papageorgiou', 'Captain'),
(20, 'Hiroshi', 'Tanaka', 'First Officer'),
(21, 'Jared', 'Davis', 'Captain'),
(22, 'Dimitris', 'Mavrommatis', 'First Officer'),
(23, 'Samantha', 'Lee', 'Captain'),
(24, 'Konstantinos', 'Antonopoulos', 'First Officer'),
(25, 'Ayako', 'Nakamura', 'Captain'),
(26, 'Yong', 'Kim', 'First Officer'),
(27, 'Georgios', 'Kyprianou', 'Captain'),
(28, 'Claudia', 'Gonzalez', 'First Officer'),
(29, 'Aikaterini', 'Michalopoulou', 'Captain'),
(30, 'Juan', 'Hernandez', 'First Officer'),
(31, 'Jenny', 'Nguyen', 'Captain'),
(32, 'Anastasios', 'Stathopoulos', 'First Officer'),
(33, 'Kevin', 'Lee', 'Captain'),
(34, 'Evangelia', 'Tsakiri', 'First Officer'),
(35, 'Makoto', 'Nakamura', 'Captain'),
(36, 'Daniel', 'Yasu', 'First Officer'),
(37, 'Theodora', 'Stavropoulou', 'Captain'),
(38, 'Emily', 'Garcia', 'First Officer'),
(39, 'Panagiotis', 'Konstantinidis', 'Captain'),
(40, 'Javier', 'Fernandez', 'First Officer'),
(41, 'Anastasia', 'Nikolaou', 'Captain'),
(42, 'Ioannis', 'Vasileiou', 'First Officer'),
(43, 'Isabela', 'Martinez', 'Captain'),
(44, 'Eirini', 'Papageorgiou', 'First Officer'),
(45, 'Mohammed', 'Ali', 'Captain'),
(46, 'Tiffany', 'Zohios', 'First Officer'),
(47, 'Stefanos', 'Christopoulos', 'Captain'),
(48, 'Julia', 'Hellmans', 'First Officer'),
(49, 'Antonis', 'Katsoulas', 'Captain'),
(50, 'Ming', 'Zhang', 'First Officer');
-- --------------------------------------------------------
--
-- Table structure for table `flights`
--
CREATE TABLE `flights` (
`flights_id` int(11) NOT NULL,
`airline_id` int(11) NOT NULL,
`flight_number` varchar(255) NOT NULL,
`type` varchar(255) NOT NULL,
`origin` varchar(255) NOT NULL,
`destination` varchar(255) NOT NULL,
`departure_time` time NOT NULL,
`date` date NOT NULL DEFAULT current_timestamp(),
`gate_id` int(11) NOT NULL,
`plane_id` int(11) NOT NULL,
`hotels_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `flights`
--
INSERT INTO `flights` (`flights_id`, `airline_id`, `flight_number`, `type`, `origin`, `destination`, `departure_time`, `date`, `gate_id`, `plane_id`, `hotels_id`) VALUES
(1, 1, 'OA101', 'Domestic', 'Athens', 'Corfu', '05:30:00', '2023-06-13', 1, 35, 1),
(2, 1, 'OA204', 'Domestic', 'Heraklion', 'Athens', '06:00:00', '2023-05-02', 2, 2, 2),
(3, 2, 'OA332', 'International', 'London', 'Athens', '06:45:00', '2023-05-03', 3, 2, 3),
(4, 40, 'OA437', 'International', 'Athens', 'New York', '14:30:00', '2023-03-18', 4, 3, 4),
(5, 4, 'OA513', 'Domestic', 'Chania', 'Athens', '14:30:00', '2023-05-05', 5, 35, 5),
(6, 1, 'OA620', 'Domestic', 'Athens', 'Corfu', '14:30:00', '2023-05-06', 6, 35, 6),
(7, 9, 'OA751', 'International', 'Dubai', 'Athens', '14:30:00', '2023-05-07', 7, 4, 7),
(8, 3, 'OA899', 'Domestic', 'Athens', 'London', '14:30:00', '2023-03-18', 8, 4, 8),
(9, 5, 'OA956', 'International', 'Athens', 'Paris', '14:30:00', '2023-05-09', 9, 4, 9),
(10, 39, 'OA102', 'Domestic', 'Athens', 'Thessaloniki', '14:30:00', '2023-05-10', 10, 5, 10),
(11, 1, 'OA205', 'Domestic', 'Chania', 'Athens', '14:30:00', '2023-05-11', 11, 5, 11),
(12, 6, 'OA333', 'International', 'Athens', 'Maroco', '14:30:00', '2023-03-18', 12, 5, 12),
(13, 6, 'OA438', 'International', 'New York', 'Athens', '14:30:00', '2023-04-17', 13, 6, 13),
(14, 1, 'OA514', 'Domestic', 'Chania', 'Athens', '14:30:00', '2023-05-14', 14, 6, 14),
(15, 1, 'OA621', 'Domestic', 'Athens', 'Corfu', '14:30:00', '2023-06-13', 15, 6, 15),
(16, 9, 'OA752', 'International', 'Heraklion', 'Dubai', '14:30:00', '2023-05-16', 16, 7, 16),
(17, 4, 'OA900', 'Domestic', 'Thessaloniki', 'Chania', '14:30:00', '2023-05-17', 17, 7, 17),
(18, 4, 'OA957', 'International', 'Chania', 'Paris', '14:30:00', '2023-05-18', 18, 7, 18),
(19, 4, 'OA103', 'Domestic', 'Athens', 'Heraklion', '14:30:00', '2023-05-19', 19, 7, 19),
(20, 2, 'OA206', 'Domestic', 'Chania', 'Thessaloniki', '14:30:00', '2023-05-20', 20, 8, 20),
(21, 1, 'OA334', 'International', 'Heraklion', 'London', '14:30:00', '2023-05-21', 21, 8, 21),
(22, 7, 'OA439', 'International', 'Chania', 'New York', '14:30:00', '2023-05-22', 22, 8, 22),
(23, 1, 'OA515', 'Domestic', 'Thessaloniki', 'Athens', '14:30:00', '2023-05-23', 23, 8, 23),
(24, 1, 'OA622', 'Domestic', 'Heraklion', 'Chania', '14:30:00', '2023-05-24', 24, 9, 24),
(25, 9, 'OA753', 'International', 'Athens', 'Dubai', '14:30:00', '2023-05-25', 25, 9, 25),
(26, 2, 'OA901', 'Domestic', 'Chania', 'Athens', '14:30:00', '2023-04-17', 26, 9, 26),
(27, 3, 'OA625', 'Domestic', 'Chania', 'Thessaloniki', '14:30:00', '2023-06-19', 27, 9, 27),
(28, 3, 'OA104', 'Domestic', 'Heraklion', 'Athens', '14:30:00', '2023-05-27', 28, 10, 28),
(29, 2, 'OA207', 'Domestic', 'Thessaloniki', 'Chania', '14:30:00', '2023-05-28', 29, 10, 29),
(30, 5, 'OA335', 'International', 'Athens', 'Paris', '14:30:00', '2023-05-29', 30, 10, 30),
(31, 7, 'OA440', 'International', 'Heraklion', 'New York', '14:30:00', '2023-05-30', 31, 10, 31),
(32, 1, 'OA516', 'Domestic', 'Chania', 'Athens', '14:30:00', '2023-05-31', 32, 11, 32),
(33, 1, 'OA623', 'Domestic', 'Thessaloniki', 'Athens', '14:30:00', '2023-04-17', 33, 11, 33),
(34, 6, 'OA754', 'International', 'Chania', 'Dubai', '14:30:00', '2023-06-02', 34, 11, 34),
(35, 2, 'OA902', 'Domestic', 'Athens', 'Chania', '14:30:00', '2023-06-03', 35, 11, 35),
(36, 40, 'OA959', 'International', 'Heraklion', 'Paris', '14:30:00', '2023-06-04', 36, 12, 36),
(37, 1, 'OA105', 'Domestic', 'Athens', 'Chania', '14:30:00', '2023-06-05', 37, 12, 37),
(38, 1, 'OA208', 'Domestic', 'Heraklion', 'Thessaloniki', '14:30:00', '2023-06-06', 38, 12, 38),
(39, 1, 'OA336', 'International', 'Chania', 'London', '14:30:00', '2023-06-07', 39, 12, 39),
(40, 4, 'OA441', 'International', 'Athens', 'New York', '14:30:00', '2023-06-08', 40, 13, 40),
(41, 4, 'OA517', 'Domestic', 'Heraklion', 'Chania', '14:30:00', '2023-06-09', 41, 13, 41),
(42, 4, 'OA624', 'Domestic', 'Athens', 'Heraklion', '14:30:00', '2023-06-10', 42, 13, 42),
(43, 3, 'OA755', 'International', 'Thessaloniki', 'Dubai', '14:30:00', '2023-06-11', 43, 13, 43),
(44, 4, 'OA903', 'Domestic', 'Chania', 'Thessaloniki', '14:30:00', '2023-06-12', 44, 14, 44),
(45, 1, 'OA960', 'Domestic', 'Athens', 'Corfu', '10:30:00', '2023-06-13', 45, 14, 45),
(46, 2, 'OA106', 'Domestic', 'Thessaloniki', 'Athens', '14:30:00', '2023-06-14', 46, 14, 46),
(47, 1, 'OA209', 'Domestic', 'Chania', 'Heraklion', '14:30:00', '2023-06-15', 47, 14, 47),
(48, 5, 'OA337', 'International', 'Heraklion', 'Paris', '14:30:00', '2023-06-16', 48, 15, 48),
(49, 7, 'OA442', 'International', 'Thessaloniki', 'New York', '14:30:00', '2023-06-17', 49, 48, 49),
(50, 4, 'OA518', 'Domestic', 'Corfu', 'Chania', '14:30:00', '2023-06-18', 50, 50, 50);
-- --------------------------------------------------------
--
-- Table structure for table `flights_crews`
--
CREATE TABLE `flights_crews` (
`flights_crews_id` int(11) NOT NULL,
`flight_id` int(11) DEFAULT NULL,
`crew_id` int(11) DEFAULT NULL,
`hotel_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `flights_crews`
--
INSERT INTO `flights_crews` (`flights_crews_id`, `flight_id`, `crew_id`, `hotel_id`) VALUES
(1, 1, 1, 1),
(2, 1, 2, 1),
(3, 2, 3, 2),
(4, 2, 4, 2),
(5, 3, 5, 3),
(6, 3, 6, 3),
(7, 4, 7, 4),
(8, 4, 8, 4),
(9, 5, 9, 5),
(10, 5, 10, 5),
(11, 6, 11, 6),
(12, 6, 12, 6),
(13, 7, 13, 7),
(14, 7, 14, 7),
(15, 8, 15, 8),
(16, 8, 16, 8),
(17, 9, 17, 9),
(18, 9, 18, 9),
(19, 10, 19, 10),
(20, 10, 20, 10),
(21, 11, 21, 11),
(22, 11, 22, 11),
(23, 12, 23, 12),
(24, 12, 24, 12),
(25, 13, 25, 13),
(26, 13, 26, 13),
(27, 14, 27, 14),
(28, 14, 28, 14),
(29, 15, 29, 15),
(30, 15, 30, 15),
(31, 16, 31, 16),
(32, 16, 32, 16),
(33, 17, 33, 17),
(34, 17, 34, 17),
(35, 18, 35, 18),
(36, 18, 36, 18),
(37, 19, 37, 19),
(38, 19, 38, 19),
(39, 20, 39, 20),
(40, 20, 40, 20),
(41, 21, 41, 21),
(42, 21, 42, 21),
(43, 22, 43, 22),
(44, 22, 44, 22),
(45, 23, 45, 23),
(46, 23, 46, 23),
(47, 24, 47, 24),
(48, 24, 48, 24),
(49, 25, 49, 25),
(50, 25, 50, 25);
-- --------------------------------------------------------
--
-- Table structure for table `gates`
--
CREATE TABLE `gates` (
`gates_id` int(11) NOT NULL,
`gate_name` varchar(255) DEFAULT NULL,
`security_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `gates`
--
INSERT INTO `gates` (`gates_id`, `gate_name`, `security_id`) VALUES
(1, 'A1', 1),
(2, 'B2', 2),
(3, 'C3', 3),
(4, 'D4', 4),
(5, 'E5', 5),
(6, 'F6', 6),
(7, 'G7', 7),
(8, 'H8', 8),
(9, 'I9', 9),
(10, 'J10', 10),
(11, 'K11', 11),
(12, 'L12', 12),
(13, 'M13', 13),
(14, 'N14', 14),
(15, 'O15', 15),
(16, 'P16', 16),
(17, 'Q17', 17),
(18, 'R18', 18),
(19, 'S19', 19),
(20, 'T20', 20),
(21, 'U21', 21),
(22, 'V22', 22),
(23, 'W23', 23),
(24, 'X24', 24),
(25, 'Y25', 25),
(26, 'Z26', 26),
(27, 'A2', 27),
(28, 'B3', 28),
(29, 'C4', 29),
(30, 'D5', 30),
(31, 'E6', 31),
(32, 'F7', 32),
(33, 'G8', 33),
(34, 'H9', 34),
(35, 'I10', 35),
(36, 'J11', 36),
(37, 'K12', 37),
(38, 'L13', 38),
(39, 'M14', 39),
(40, 'N15', 40),
(41, 'O16', 41),
(42, 'P17', 42),
(43, 'Q18', 43),
(44, 'R19', 44),
(45, 'S20', 45),
(46, 'T21', 46),
(47, 'U22', 47),
(48, 'V23', 48),
(49, 'W24', 49),
(50, 'X25', 50);
-- --------------------------------------------------------
--
-- Table structure for table `hotels`
--
CREATE TABLE `hotels` (
`hotels_id` int(11) NOT NULL,
`hotels_name` varchar(255) DEFAULT NULL,
`postal_address` varchar(255) DEFAULT NULL,
`email_address` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `hotels`
--
INSERT INTO `hotels` (`hotels_id`, `hotels_name`, `postal_address`, `email_address`) VALUES
(1, 'The Grand Resort', '77 Ethnikis Antistaseos, Loutraki 20300, Greece', 'info@grandresort.gr'),
(2, 'Hilton Athens', '46 Vasilissis Sofias Avenue, Athens 11528, Greece', 'athhi.info@hilton.com'),
(3, 'Plaza Resort Hotel', 'Coastal Road, Anavyssos 19013, Greece', 'info@plazaresort.gr'),
(4, 'Divani Caravel Hotel', '2 Vassileos Alexandrou Avenue, Athens 16121, Greece', 'info@divanicaravelhotel.com'),
(5, 'Hotel Grande Bretagne', '1 Vasileos Georgiou A, Syntagma Square, Athens 105 64, Greece', 'info@hotelgrandebretagne.gr'),
(6, 'The Ritz-Carlton, Berlin', 'Potsdamer Platz 3, 10785 Berlin, Germany', 'info@ritzcarlton.com'),
(7, 'The Plaza Hotel', 'Fifth Avenue at Central Park South, New York, NY 10019, USA', 'info@theplazany.com'),
(8, 'Burj Al Arab Jumeirah', 'Jumeirah St, Umm Suqeim 3, Dubai, UAE', 'info@burjalarab.com'),
(9, 'The Ritz London', '150 Piccadilly, London W1J 9BR, United Kingdom', 'info@theritzlondon.com'),
(10, 'Belmond Hotel Caruso', 'Piazza San Giovanni del Toro 2, 84010 Ravello SA, Italy', 'info@belmond.com'),
(11, 'Astir Palace Hotel Athens', 'Apollonos 40, Vouliagmeni 16671, Greece', 'info@astir.gr'),
(12, 'The Westin Resort Costa Navarino', 'Navarino Dunes, Costa Navarino, Messinia 240 01, Greece', 'info@westincostanavarino.com'),
(13, 'King George, a Luxury Collection Hotel', '3 Vasileos Georgiou A, Syntagma Square, Athens 105 64, Greece', 'info@kinggeorgeathens.com'),
(14, 'Mandarin Oriental, Bangkok', '48 Oriental Avenue, Bangkok 10500, Thailand', 'info@mandarinoriental.com'),
(15, 'The St. Regis Bali Resort', 'Kawasan Pariwisata, Nusa Dua, Lot S6, PO Box 44, Nusa Dua 80363, Indonesia', 'info@stregisbali.com'),
(16, 'SLS Beverly Hills', '465 S La Cienega Blvd, Los Angeles, CA 90048, USA', 'info@slshotels.com'),
(17, 'Grace Santorini', 'Imerovigli 847 00, Greece', 'info@gracehotels.com'),
(18, 'Amangiri', '1 Kayenta Road, Canyon Point, UT 84741, USA', 'info@aman.com'),
(19, 'Four Seasons Hotel George V Paris', '31 Avenue George V, 75008 Paris, France', 'info@fourseasons.com'),
(20, 'Hotel Diogenis', 'Athens 105 51, Greece', 'diogenis@hotel.com'),
(21, 'Hotel Nefeli', 'Chania 731 00, Greece', 'nefeli@hotel.com'),
(22, 'Villa Paradiso', 'Amalfi, Italy', 'paradiso@villa.com'),
(23, 'Grand Hotel du Cap-Ferrat', 'Saint-Jean-Cap-Ferrat, France', 'grandhotel@capferrat.com'),
(24, 'Hotel Nacional de Cuba', 'Havana, Cuba', 'nacional@hotel.com'),
(25, 'Mandarin Oriental', 'Bangkok, Thailand', 'mandarin@bangkok.com'),
(26, 'The Plaza Hotel', 'New York, NY 10019, United States', 'plaza@hotel.com'),
(27, 'Atlantis, The Palm', 'Dubai, United Arab Emirates', 'atlantis@thepalm.com'),
(28, 'The Ritz-Carlton', 'Moscow, Russia', 'ritzcarlton@moscow.com'),
(29, 'The Setai', 'Miami Beach, FL 33139, United States', 'setai@miamibeach.com'),
(30, 'InterContinental Danang Sun Peninsula Resort', 'Da Nang, Vietnam', 'intercontinental@danang.com'),
(31, 'Fairmont Chateau Lake Louise', 'Lake Louise, AB T0L 1E0, Canada', 'chateau@lakelouise.com'),
(32, 'The St. Regis', 'Bali, Indonesia', 'stregis@bali.com'),
(33, 'Rosewood Miramar Beach', 'Montecito, CA 93108, United States', 'rosewood@miramarbeach.com'),
(34, 'The Ritz-Carlton', 'Tokyo, Japan', 'ritzcarlton@tokyo.com'),
(35, 'Belmond Hotel Caruso', 'Ravello, Italy', 'caruso@belmond.com'),
(36, 'Waldorf Astoria Beverly Hills', 'Beverly Hills, CA 90210, United States', 'waldorf@beverlyhills.com'),
(37, 'Four Seasons Resort Bali at Sayan', 'Ubud, Bali, Indonesia', 'fourseasons@sayan.com'),
(38, 'Burj Al Arab', 'Dubai, United Arab Emirates', 'burjalarab@hotel.com'),
(39, 'The Savoy', 'London WC2R 0EU, United Kingdom', 'savoy@hotel.com'),
(40, 'Le Bristol Paris', 'Paris, France', 'bristol@paris.com'),
(41, 'The Beverly Hills Hotel', 'Beverly Hills, CA 90210, United States', 'beverlyhillshotel@hotel.com'),
(42, 'The Ritz-Carlton', 'Hong Kong', 'ritzcarlton@hongkong.com'),
(43, 'Amangiri', 'Canyon Point, UT 84741, United States', 'amangiri@canyonpoint.com'),
(44, 'Alila Villas Uluwatu', 'Bali, Indonesia', 'alilavillas@uluwatu.com'),
(45, 'Acropolis View Hotel', 'Rovertou Galli 10, Athens 11742, Greece', 'acropolisviewhotel@example.com'),
(46, 'Mykonos Grand Hotel & Resort', 'Agios Ioannis, Mykonos 84600, Greece', 'mykonosgrandhotel@example.com'),
(47, 'Canaves Oia Suites', 'Oia, Santorini 84702, Greece', 'canavesoiasuites@example.com'),
(48, 'Daios Cove Luxury Resort & Villas', 'Vathi, Agios Nikolaos 72100, Greece', 'daioscove@example.com'),
(49, 'Amanzoe Resort', 'Kranidi, Porto Heli 213 00, Greece', 'amanzoe@example.com'),
(50, 'Mystique, a Luxury Collection Hotel', 'Oia, Santorini 84702, Greece', 'mystiquehotel@example.com');
-- --------------------------------------------------------
--
-- Table structure for table `inspections`
--
CREATE TABLE `inspections` (
`inspections_id` int(11) NOT NULL,
`inspections_name` varchar(255) DEFAULT NULL,
`test_id` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `inspections`
--
INSERT INTO `inspections` (`inspections_id`, `inspections_name`, `test_id`) VALUES
(1, 'Airframe Inspection', 33),
(2, 'Avionics Check', 26),
(3, 'Battery Test', 44),
(4, 'Brake System Inspection', 4),
(5, 'Cockpit Instrument Calibration', 5),
(6, 'Control Surfaces Inspection', 6),
(7, 'Engine Run-Up Test', 7),
(8, 'Fuel System Check', 24),
(9, 'Hydraulic System Inspection', 9),
(10, 'Landing Gear Inspection', 10),
(11, 'Navigation Systems Check', 11),
(12, 'Oxygen System Inspection', 12),
(13, 'Pitot-Static System Check', 13),
(14, 'Propeller Check', 14),
(15, 'Radar Check', 15),
(16, 'Starter/Generator Test', 16),
(17, 'Tire Pressure Check', 17),
(18, 'Wing Inspection', 18),
(19, 'Aileron Inspection', 19),
(20, 'Flap Inspection', 20),
(21, 'Fuselage Inspection', 21),
(22, 'Horizontal Stabilizer Inspection', 22),
(23, 'Vertical Stabilizer Inspection', 23),
(24, 'Windshield Check', 24),
(25, 'Yoke Check', 25),
(26, 'Air Conditioning Check', 26),
(27, 'Anti-Ice System Check', 27),
(28, 'Autopilot Check', 28),
(29, 'Cabin Pressurization Check', 29),
(30, 'Circuit Breaker Check', 30),
(31, 'De-Ice System Check', 31),
(32, 'Emergency Equipment Inspection', 32),
(33, 'Evacuation Slide Inspection', 33),
(34, 'Fire Detection System Check', 34),
(35, 'Flight Controls Check', 35),
(36, 'Galley Equipment Inspection', 36),
(37, 'Lavatory Inspection', 37),
(38, 'Life Raft Inspection', 38),
(39, 'Oxygen Masks Inspection', 39),
(40, 'Passenger Seats Inspection', 40),
(41, 'Seat Belt Inspection', 41),
(42, 'Smoke Detection System Check', 42),
(43, 'Storage Compartments Inspection', 43),
(44, 'Window Shade Check', 44),
(45, 'Wing Flaps Inspection', 45),
(46, 'Backup Generator Check', 46),
(47, 'Inverter Check', 47),
(48, 'Power Distribution Panel Check', 48),
(49, 'Strobe Light Inspection', 49),
(50, 'VHF Communication Check', 50);
-- --------------------------------------------------------
--
-- Table structure for table `inspections_history`
--
CREATE TABLE `inspections_history` (
`inspections_history_id` int(11) NOT NULL,
`inspection_date` date DEFAULT NULL,
`inspection_result` varchar(255) DEFAULT NULL,
`test_section_id` int(11) DEFAULT NULL,
`technician_id` int(11) DEFAULT NULL,
`pln_id` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `inspections_history`
--
INSERT INTO `inspections_history` (`inspections_history_id`, `inspection_date`, `inspection_result`, `test_section_id`, `technician_id`, `pln_id`) VALUES
(1, '2022-01-05', 'Passed', 1, 1001, 1),
(2, '2021-12-22', 'Failed', 2, 1002, 2),
(3, '2022-03-15', 'Passed', 3, 1003, 3),
(4, '2022-02-10', 'Passed', 4, 1004, 4),
(5, '2022-04-01', 'Failed', 5, 1005, 5),
(6, '2021-11-25', 'Failed', 6, 1006, 6),
(7, '2022-01-12', 'Passed', 7, 1007, 7),
(8, '2022-02-20', 'Passed', 8, 1008, 8),
(9, '2022-03-05', 'Passed', 9, 1009, 9),
(10, '2022-04-28', 'Failed', 10, 1010, 10),
(11, '2022-02-01', 'Passed', 11, 1011, 11),
(12, '2022-03-18', 'Failed', 12, 1012, 12),
(13, '2022-01-19', 'Passed', 13, 1013, 13),
(14, '2022-03-10', 'Passed', 14, 1014, 14),
(15, '2022-02-12', 'Failed', 15, 1015, 15),
(16, '2022-04-20', 'Passed', 16, 1016, 16),
(17, '2021-12-29', 'Passed', 17, 1017, 17),
(18, '2022-01-28', 'Failed', 18, 1018, 18),
(19, '2022-02-22', 'Passed', 19, 1019, 19),
(20, '2022-03-25', 'Failed', 20, 1020, 20),
(21, '2022-04-15', 'Passed', 21, 1021, 21),
(22, '2022-01-15', 'Passed', 22, 1022, 22),
(23, '2022-02-05', 'Failed', 23, 1023, 23),
(24, '2022-04-05', 'Passed', 24, 1024, 24),
(25, '2022-03-08', 'Passed', 25, 1025, 25),
(26, '2022-02-15', 'Failed', 26, 1026, 26),
(27, '2022-04-25', 'Failed', 27, 1027, 27),
(28, '2022-01-08', 'Passed', 28, 1018, 28),
(29, '2022-02-26', 'Passed', 29, 1029, 29),
(30, '2022-03-22', 'Passed', 30, 1030, 30),
(31, '2022-04-18', 'Failed', 31, 1031, 31),
(32, '2022-01-22', 'Passed', 32, 1032, 32),
(33, '2022-03-01', 'Failed', 33, 1033, 33),
(34, '2022-04-08', 'Passed', 34, 1034, 34),
(35, '2022-02-08', 'Passed', 35, 1035, 35),
(36, '2022-03-29', 'Passed', 36, 1036, 36),
(37, '2022-04-22', 'Passed', 37, 1037, 37),
(38, '2022-01-01', 'Failed', 38, 1038, 38),
(39, '2022-03-12', 'Failed', 39, 1039, 39),
(40, '2022-04-02', 'Passed', 40, 1040, 40),
(41, '2022-05-15', 'Passed', 41, 1041, 41),
(42, '2022-06-02', 'Failed', 42, 1042, 42),
(43, '2022-07-11', 'Passed', 43, 1043, 43),
(44, '2022-08-27', 'Passed', 44, 1044, 44),
(45, '2022-09-05', 'Failed', 45, 1045, 45),
(46, '2022-10-03', 'Passed', 46, 1046, 46),
(47, '2022-11-11', 'Passed', 47, 1047, 47),
(48, '2022-12-01', 'Failed', 48, 1048, 48),
(49, '2023-06-14', 'Passed', 49, 1049, 49),
(50, '2023-06-13', 'Passed', 50, 1050, 50);
-- --------------------------------------------------------
--
-- Table structure for table `passengers`
--
CREATE TABLE `passengers` (
`passengers_id` int(11) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`surname` varchar(255) NOT NULL,
`address` varchar(255) DEFAULT NULL,
`age` int(11) DEFAULT NULL,
`income` int(20) DEFAULT NULL,
`num_credit_cards` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `passengers`
--
INSERT INTO `passengers` (`passengers_id`, `name`, `surname`, `address`, `age`, `income`, `num_credit_cards`) VALUES
(1, 'John', 'Smith', '123 Main St, New York, NY', 35, 50000, '4556-2114-3111-4654'),
(2, 'Maria', 'Garcia', '456 Elm St, Los Angeles, CA', 28, 40000, '4539-3487-1058-7168'),
(3, 'Nikos', 'Papadopoulos', '10 Panepistimiou St, Athens, Greece', 42, 45000, '4485-9451-7466-9863'),
(4, 'Anna', 'Mueller', '20 Hauptstrasse, Berlin, Germany', 31, 55000, '4539-4814-3376-1974'),
(5, 'Mohammed', 'Ali', '15 Al-Andalus St, Casablanca, Morocco', 45, 60000, '4916-3254-4604-0178'),
(6, 'Sophia', 'Rodriguez', '789 Broadway, Miami, FL', 27, 38000, '4539-9741-5902-2431'),
(7, 'Hiroshi', 'Tanaka', '1-1-1 Shibuya, Tokyo, Japan', 39, 75000, '4716-4286-9576-6014'),
(8, 'Sofia', 'Kourtidou', '15 Tsimiski St, Thessaloniki, Greece', 33, 47000, '4556-2146-9513-2297'),
(9, 'Mariana', 'Gomez', '20 Calle de Alcala, Madrid, Spain', 29, 42000, '4716-8404-6772-1573'),
(10, 'Ali', 'Hassan', '25 Pyramids St, Giza, Egypt', 41, 58000, '4532-0595-7998-0058'),
(11, 'David', 'Kim', '100 Main St, San Francisco, CA', 30, 55000, '4539-4209-7370-8326'),
(12, 'Isabella', 'Rossi', '10 Via Veneto, Rome, Italy', 34, 49000, '4485-0325-8949-2882'),
(13, 'Rachid Ben', 'Ali', '30 Rue de la Republique, Algiers, Algeria', 48, 62000, '4485-6687-2955-4725'),
(14, 'Juan', 'Hernandez', '50 Avenida de Mayo, Buenos Aires, Argentina', 25, 35000, '4024-0071-4856-7943'),
(15, 'Yiannis', 'Mitsopoulos', '5 Aristotelous Sq, Thessaloniki, Greece', 37, 52000, '4916-1478-8343-3751'),
(16, 'Sophie', 'Dupont', '15 Rue de Rivoli, Paris, France', 29, 43000, '4539-9520-3038-3529'),
(17, 'Sergei', 'Ivanov', '10 Tverskaya St, Moscow, Russia', 50, 80000, '4916-6412-2569-5010'),
(18, 'Christina', 'Antoniou', '25 Makariou Ave, Nicosia, Cyprus', 36, 51000, '4187-2527-6872-1874'),
(19, 'Fernando', 'Hernandez', '75 Avenida Central, Panama City, Panama', 26, 37000, '4624-0748-4572-2209'),
(20, 'Kyoko', 'Nakamura', '3-1-1 Higashi-Shinjuku, Tokyo, Japan', 40, 69000, '4485-2975-2725-0987'),
(21, 'Katia', 'Sotiropoulou', '7 Pireos St, Athens, Greece', 31, 46000, '4916-4436-1420-2999'),
(22, 'Mohammed', 'Aziz', '10 Boulevard Abdelmoumen, Casablanca, Morocco', 43, 61000, '4024-0071-2175-5275'),
(23, 'Giovanni', 'Russo', '5 Via della Conciliazione, Vatican City', 32, 48000, '4556-8636-6476-7440'),
(24, 'Jorge', 'Rodriguez', '150 Avenida Reforma, Mexico City, Mexico', 27, 39000, '4485-3042-9528-1697'),
(25, 'Aisha', 'Al-Maktoum', 'Dubai Mall, Dubai, UAE', 38, 72000, '4687-5878-1246-5811'),
(26, 'Anna', 'Kovalenko', '20 Khreshchatyk St, Kiev, Ukraine', 35, 53000, '4532-5575-9208-4725'),
(27, 'Angelo', 'Edwards', '534 4th Street, New York, NY 10001', 41, 24000, '4556-8873-3866-4931'),
(28, 'Aurora', 'Torres', '891 Oak Avenue, Boston, MA 02101', 27, 32000, '4485-1890-1122-7391'),
(29, 'Leonard', 'Warren', '975 East Street, San Francisco, CA 94101', 29, 29000, '4532-5453-3861-5035'),
(30, 'Sophie', 'Walker', '651 Broadway, New York, NY 10001', 35, 38000, '4716-2133-4257-8305'),
(31, 'Yannis', 'Papadopoulos', '26 Athinas Street, Athens, Greece', 43, 21000, '4556-0429-2583-5599'),
(32, 'Nina', 'Nguyen', '328 Main Street, San Francisco, CA 94101', 24, 36000, '4716-6553-4413-2483'),
(33, 'Nikos', 'Karamanlis', '10 Aristotelous Street, Thessaloniki, Greece', 50, 32000, '4556-4326-1686-2749'),
(34, 'Molly', 'Thompson', '409 Elm Street, Boston, MA 02101', 32, 29000, '4916-7157-5072-0854'),
(35, 'Katerina', 'Ioannou', '11 Dimitriou Street, Athens, Greece', 38, 27000, '4024-0071-4069-0362'),
(36, 'Elena', 'Dimitriou', '17 Irodotou Street, Athens, Greece', 29, 25000, '4929-1456-4437-0580'),
(37, 'Amelia', 'Wilson', '875 Maple Avenue, New York, NY 10001', 26, 31000, '4532-7087-3152-6460'),
(38, 'Christos', 'Athanasiou', '3 Alexandrou Street, Athens, Greece', 47, 28000, '4024-0071-4051-5494'),
(39, 'Julia', 'Davis', '193 Cherry Lane, San Francisco, CA 94101', 31, 30000, '4716-7343-5697-1979'),
(40, 'Eleni', 'Georgiou', '22 Ethnikis Antistasis Street, Thessaloniki, Greece', 42, 26000, '4539-4814-7807-8011'),
(41, 'Vasilis', 'Giannakopoulos', '7 Tsimiski Street, Thessaloniki, Greece', 36, 29000, '4024-0071-3254-9634'),
(42, 'Sarah', 'Lee', '277 Oak Lane, Boston, MA 02101', 28, 35000, '4556-3228-2118-4239'),
(43, 'Marianna', 'Papadopoulou', '13 Ermou Street, Athens, Greece', 45, 23000, '4532-6872-2277-4302'),
(44, 'Panagiotis', 'Arvanitis', '1 Leoforos Vasileos Pavlou, Athens, Greece', 54, 31000, '4539-4920-1590-8396'),
(45, 'Ricardo', 'Garcia', '222 Vine Street, San Francisco, CA 94101', 30, 33000, '4716-0284-2880-0294'),
(46, 'Ioanna', 'Papadaki', '20 Agias Sofias Street, Thessaloniki, Greece', 25, 28000, '4929-5849-9975-0964'),
(47, 'Sofia', 'Katsarou', '2 Evaggelistrias Street, Athens, Greece', 33, 26000, '4024-0071-3242-5439'),
(48, 'Sotiris', 'Christou', '15 Proxenou Koromila Street, Thessaloniki, Greece', 49, 32000, '4532-8255-4031-9695'),
(49, 'Daniel', 'Hernandez', '739 Pine Street, New York, NY 10001', 39, 27000, '4024-0071-3808-7860'),
(50, 'Ibrahim', 'Davis', '4325 Meadow View Drive', 35, 58000, '4556-8987-1525-3297');
-- --------------------------------------------------------
--
-- Table structure for table `pilot_meetings`
--
CREATE TABLE `pilot_meetings` (
`pilot_meeting_id` int(11) NOT NULL,
`pilots_surname` varchar(255) NOT NULL,
`meeting_date` date NOT NULL,
`meeting_subject` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `pilot_meetings`
--
INSERT INTO `pilot_meetings` (`pilot_meeting_id`, `pilots_surname`, `meeting_date`, `meeting_subject`) VALUES
(1, 'Nikolaou', '2023-01-03', 'Improving Cockpit Communication Strategies'),
(2, 'Nikolaou', '2023-01-05', 'Responding to Emergency Situations in Flight'),
(3, 'Nikolaou', '2023-01-10', 'Enhancing Pilot Safety Training Programs'),
(4, 'Nikolaou', '2023-02-19', 'Managing In-Flight System Failures'),
(5, 'Nikolaou', '2023-02-21', 'Implementing New Navigation Technologies'),
(6, 'Nikolaou', '2023-02-23', 'Improving Crew Resource Management Practices'),
(7, 'Nikolaou', '2023-02-25', 'Enhancing Pilot Navigation Skills'),
(8, 'Papadopoulos', '2023-03-01', 'Addressing Pilot Fatigue and Stress'),
(9, 'Gerekou', '2023-03-02', 'Reducing Fuel Consumption During Flight'),
(10, 'Katsaros', '2023-03-03', 'Developing More Efficient Flight Paths'),
(11, 'Constantinou', '2023-03-04', 'Improving Aircraft Maintenance Procedures'),
(12, 'Brown', '2023-03-05', 'Managing Severe Weather Conditions During Flight'),
(13, 'Nguyen', '2023-03-06', 'Enhancing Pilot Instrument Proficiency'),
(14, 'Katsikaris', '2023-03-07', 'Developing New Flight Training Programs'),
(15, 'Smith', '2023-03-08', 'Addressing Pilot Shortage and Retention'),
(16, 'Papadakis', '2023-03-09', 'Improving Airport Infrastructure for Pilots'),
(17, 'Petrova', '2023-03-10', 'Enhancing Pilot Decision-Making Skills'),
(18, 'Jones', '2023-03-11', 'Managing In-Flight Medical Emergencies'),
(19, 'Vasilopoulos', '2023-03-12', 'Implementing New Air Traffic Control Procedures'),
(20, 'Rodriguez', '2023-03-13', 'Enhancing Pilot Autopilot System Knowledge'),
(21, 'Vlachou', '2023-03-14', 'Improving Pilot Debriefing Practices'),
(22, 'Georgiou', '2023-03-15', 'Addressing Pilot Mental Health Concerns'),
(23, 'Thompson', '2023-03-16', 'Managing In-Flight Security Threats'),
(24, 'Papageorgiou', '2023-03-17', 'Developing More Efficient Loading Procedures'),
(25, 'Tanaka', '2023-03-18', 'Enhancing Pilot Hand-Flying Skills'),
(26, 'Davis', '2023-03-19', 'Addressing Cockpit Noise and Distractions'),
(27, 'Mavrommatis', '2023-03-20', 'Managing Bird Strikes During Flight'),
(28, 'Lee', '2023-03-21', 'Implementing New Cockpit Technology'),
(29, 'Antonopoulos', '2023-03-22', 'Improving Pilot Teamwork and Collaboration'),
(30, 'Nakamura', '2023-03-23', 'Enhancing Pilot Communication with Air Traffic Control'),
(31, 'Kim', '2023-03-24', 'Addressing Pilot Training Costs and Funding'),
(32, 'Kyprianou', '2023-03-25', 'Managing In-Flight Oxygen Systems'),
(33, 'Gonzalez', '2023-03-26', 'Developing More Accurate Weather Forecasting Methods'),
(34, 'Michalopoulou', '2023-03-27', 'Enhancing Pilot Visibility During Landing'),
(35, 'Hernandez', '2023-03-28', 'Improving Aircraft Ground Handling Procedures'),
(36, 'Nguyen', '2023-03-29', 'Addressing In-Flight Fire Hazards'),
(37, 'Stathopoulos', '2023-03-30', 'Managing Airspace Congestion and Delays'),
(38, 'Lee', '2023-03-31', 'Implementing New In-Flight Entertainment Systems'),
(39, 'Tsakiri', '2023-04-01', 'Enhancing Pilot Understanding of Meteorology'),
(40, 'Nakamura', '2023-04-02', 'Improving Pilot Response to Electrical Malfunctions'),
(41, 'Yasu', '2023-04-05', 'Addressing Cabin Air Quality Issues'),
(42, 'Stavropoulou', '2023-04-06', 'Managing Flight Crew Time Zones and Jet Lag'),
(43, 'Garcia', '2023-04-07', 'Developing More Efficient Boarding Procedures'),
(44, 'Konstantinidis', '2023-04-08', 'Enhancing Pilot Understanding of Aircraft Performance'),
(45, 'Fernandez', '2023-04-09', 'Improving Aircraft Emergency Evacuation Procedures'),
(46, 'Vasileiou', '2023-04-10', 'Addressing Pilot Simulator Training Gaps'),
(47, 'Martinez', '2023-04-11', 'Managing Flight Crew Meal and Rest Breaks'),
(48, 'Papageorgiou', '2023-04-12', 'Implementing New Ground Handling Technology'),
(49, 'Ali', '2023-04-13', 'Enhancing Pilot Understanding of Fuel Systems'),
(50, 'Katsoulas', '2023-04-14', 'Addressing Pilot Language and Cultural Barriers');
-- --------------------------------------------------------
--
-- Table structure for table `planes`
--
CREATE TABLE `planes` (
`planes_id` int(11) NOT NULL,
`code` varchar(255) NOT NULL,
`year` int(11) NOT NULL,
`type_name_id` int(11) NOT NULL,
`seating_capacity` int(255) NOT NULL,
`tests_tests_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `planes`
--
INSERT INTO `planes` (`planes_id`, `code`, `year`, `type_name_id`, `seating_capacity`, `tests_tests_id`) VALUES
(1, 'A319', 1979, 1, 132, 1),
(2, 'A320', 1980, 1, 180, 2),
(3, 'A321', 1982, 1, 236, 3),
(4, 'A330-200', 1983, 1, 246, 4),
(5, 'A330-300', 1985, 1, 300, 5),
(6, 'A350-900', 1976, 1, 440, 6),
(7, 'A380-800', 2014, 1, 853, 7),
(8, '737-700', 1986, 2, 126, 8),
(9, '737-800', 1987, 2, 189, 9),
(10, '737 MAX 8', 1975, 2, 210, 10),
(11, '747-400', 1988, 2, 416, 11),
(12, '747-8', 2020, 2, 467, 12),
(13, '757-200', 2010, 2, 239, 13),
(14, '767-300ER ', 1989, 2, 290, 14),
(15, '777-200ER', 1974, 2, 301, 15),
(16, '777-300ER', 2023, 2, 386, 16),
(17, '787-8', 2003, 2, 242, 17),
(18, '787-9', 2005, 2, 290, 18),
(19, 'E170', 2007, 3, 76, 19),
(20, 'E175', 1990, 3, 78, 20),
(21, 'E190', 1991, 3, 114, 21),
(22, 'E195', 1992, 3, 124, 22),
(23, '50', 1994, 4, 50, 23),
(24, '70', 1995, 4, 80, 24),
(25, '100', 1996, 4, 109, 25),
(26, 'DC-9-30', 1997, 5, 115, 26),
(27, 'MD-82', 1998, 5, 172, 27),
(28, 'MD-88', 1999, 5, 108, 28),
(29, 'MD-90-30', 2000, 5, 180, 29),
(30, 'Superjet 1', 2001, 6, 214, 30),
(31, 'TU-154', 2002, 7, 110, 31),
(32, 'TU-204', 2004, 7, 135, 32),
(33, '717-200', 2006, 1, 160, 33),
(34, 'A220-100', 2008, 1, 50, 34),
(35, 'A220-300', 2011, 8, 50, 35),
(36, 'CRJ100', 1978, 8, 70, 36),
(37, 'CRJ200', 1981, 8, 90, 37),
(38, 'CRJ700', 1993, 8, 104, 38),
(39, 'CRJ900', 1984, 8, 37, 39),
(40, 'CRJ1000', 2009, 8, 44, 40),
(41, 'E135', 2017, 8, 50, 41),
(42, 'E140', 2012, 8, 114, 42),
(43, 'E145', 2013, 8, 146, 43),
(44, 'E190-E2', 2015, 8, 82, 44),
(45, 'E195-E2', 2016, 8, 100, 45),
(46, '146-100', 2018, 8, 112, 46),
(47, '146-200', 2019, 8, 70, 47),
(48, '146-300', 2021, 8, 85, 48),
(49, 'Avro RJ170', 2022, 8, 120, 49),
(50, 'Avro RJ85', 1977, 8, 220, 50);
-- --------------------------------------------------------
--
-- Table structure for table `plane_types`
--
CREATE TABLE `plane_types` (
`type_name` varchar(255) NOT NULL,
`type_name_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `plane_types`
--
INSERT INTO `plane_types` (`type_name`, `type_name_id`) VALUES
('Airbus', 1),
('BAe', 9),
('Boeing', 2),
('Bombardier', 8),
('Embraer', 3),
('Fokker', 4),
('McDonnell Douglas', 5),
('Sukhoi', 6),
('Tupolev', 7);
-- --------------------------------------------------------
--
-- Table structure for table `rented_spaces`
--
CREATE TABLE `rented_spaces` (
`rented_spaces_id` int(11) NOT NULL,
`space_number` varchar(10) DEFAULT NULL,
`airline_number` int(11) DEFAULT NULL,
`expiration_date` date DEFAULT NULL,
`rent_amount` decimal(10,3) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `rented_spaces`
--
INSERT INTO `rented_spaces` (`rented_spaces_id`, `space_number`, `airline_number`, `expiration_date`, `rent_amount`) VALUES
(1, '100', 1, '2022-01-15', '120.000'),
(2, '103', 2, '2022-02-02', '150.000'),
(3, '108', 3, '2022-03-19', '160.000'),
(4, '110', 4, '2022-04-20', '170.000'),
(5, '120', 5, '2022-05-31', '180.000'),
(6, '133', 6, '2022-06-27', '190.000'),
(7, '143', 7, '2022-07-01', '200.000'),
(8, '153', 8, '2022-08-03', '210.000'),
(9, '154', 9, '2022-09-04', '220.000'),
(10, '156', 10, '2022-10-05', '230.000'),
(11, '158', 11, '2022-11-06', '240.000'),
(12, '160', 12, '2022-12-07', '250.000'),
(13, '161', 13, '2024-01-08', '260.000'),
(14, '164', 14, '2024-02-09', '270.000'),
(15, '164', 15, '2024-03-10', '280.000'),
(16, '175', 16, '2024-04-11', '290.000'),
(17, '186', 17, '2024-05-12', '300.000'),
(18, '196', 18, '2024-06-13', '310.000'),
(19, '200', 19, '2024-07-14', '320.000'),
(20, '205', 20, '2024-08-16', '330.000'),
(21, '210', 21, '2024-09-17', '340.000'),
(22, '220', 22, '2024-10-18', '350.000'),
(23, '221', 23, '2024-11-21', '360.000'),
(24, '227', 24, '2024-11-22', '370.000'),
(25, '230', 25, '2024-12-23', '380.000'),
(26, '235', 26, '2025-01-24', '390.000'),
(27, '238', 27, '2025-02-25', '400.000'),
(28, '240', 28, '2025-03-26', '410.000'),
(29, '255', 29, '2025-04-28', '420.000'),
(30, '287', 30, '2025-05-29', '430.000'),
(31, '300', 31, '2025-06-30', '440.000'),
(32, '310', 32, '2025-07-01', '450.000'),
(33, '320', 33, '2025-08-02', '460.000'),
(34, '330', 34, '2025-09-03', '470.000'),
(35, '340', 35, '2025-10-04', '480.000'),
(36, '346', 36, '2025-11-05', '490.000'),
(37, '348', 37, '2025-12-06', '500.000'),
(38, '400', 38, '2026-06-07', '510.000'),
(39, '2', 39, '2023-12-08', '520.000'),
(40, '237', 40, '2023-11-09', '530.000'),
(41, '350', 41, '2023-10-10', '540.000'),
(42, '11', 42, '2023-09-11', '550.000'),
(43, '1', 43, '2023-08-12', '560.000'),
(44, '43', 44, '2023-07-13', '570.000'),
(45, '50', 45, '2023-06-14', '580.000'),
(46, '60', 46, '2023-01-15', '590.000'),
(47, '13', 47, '2023-02-16', '600.000'),
(48, '15', 48, '2023-03-17', '610.000'),
(49, '10', 49, '2023-04-18', '620.000'),
(50, '20', 50, '2023-05-19', '630.000');
-- --------------------------------------------------------
--
-- Table structure for table `security_personnel`
--
CREATE TABLE `security_personnel` (
`security_personnel_id` int(11) NOT NULL,
`sec_pers_code` varchar(255) DEFAULT NULL,
`sec_person_gate_id` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `security_personnel`
--
INSERT INTO `security_personnel` (`security_personnel_id`, `sec_pers_code`, `sec_person_gate_id`) VALUES
(1, 'SEC-0000-001', 1),
(2, 'SEC-0000-002', 2),
(3, 'SEC-0000-003', 3),
(4, 'SEC-0000-004', 4),
(5, 'SEC-0000-005', 5),
(6, 'SEC-0000-006', 6),
(7, 'SEC-0000-007', 7),
(8, 'SEC-0000-008', 8),
(9, 'SEC-0000-009', 9),
(10, 'SEC-0000-010', 10),
(11, 'SEC-0000-011', 11),
(12, 'SEC-0000-012', 12),
(13, 'SEC-0000-013', 13),
(14, 'SEC-0000-014', 14),
(15, 'SEC-0000-015', 15),
(16, 'SEC-0000-016', 16),
(17, 'SEC-0000-017', 17),
(18, 'SEC-0000-018', 18),
(19, 'SEC-0000-019', 19),
(20, 'SEC-0000-020', 20),
(21, 'SEC-0000-021', 21),
(22, 'SEC-0000-022', 22),
(23, 'SEC-0000-023', 23),
(24, 'SEC-0000-024', 24),
(25, 'SEC-0000-025', 25),
(26, 'SEC-0000-026', 26),
(27, 'SEC-0000-027', 27),
(28, 'SEC-0000-028', 28),
(29, 'SEC-0000-029', 29),
(30, 'SEC-0000-030', 30),
(31, 'SEC-0000-031', 31),
(32, 'SEC-0000-032', 32),
(33, 'SEC-0000-033', 33),
(34, 'SEC-0000-034', 34),
(35, 'SEC-0000-035', 35),
(36, 'SEC-0000-036', 36),
(37, 'SEC-0000-037', 37),
(38, 'SEC-0000-038', 38),
(39, 'SEC-0000-039', 39),
(40, 'SEC-0000-040', 40),
(41, 'SEC-0000-041', 41),
(42, 'SEC-0000-042', 42),
(43, 'SEC-0000-043', 43),
(44, 'SEC-0000-044', 44),
(45, 'SEC-0000-045', 45),
(46, 'SEC-0000-046', 46),
(47, 'SEC-0000-047', 47),
(48, 'SEC-0000-048', 48),
(49, 'SEC-0000-049', 49),
(50, 'SEC-0000-050', 50);
-- --------------------------------------------------------
--
-- Table structure for table `technicians`
--
CREATE TABLE `technicians` (
`technicians_id` int(11) NOT NULL,
`technicians_name` varchar(255) DEFAULT NULL,
`specialization_id` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `technicians`
--
INSERT INTO `technicians` (`technicians_id`, `technicians_name`, `specialization_id`) VALUES
(1001, 'Alexandros Katsaros', 'SPEC-2023-1001'),
(1002, 'Stefania Ioannou', 'SPEC-2023-1002'),
(1003, 'Andreas Papadakis', 'SPEC-2023-1003'),
(1004, 'Eirini Konstantinou', 'SPEC-2023-1004'),
(1005, 'Dimitrios Manolis', 'SPEC-2023-1005'),
(1006, 'Eleni Anastasiou', 'SPEC-2023-1006'),
(1007, 'Nikolaos Papadopoulos', 'SPEC-2023-1007'),
(1008, 'Maria Karamanlis', 'SPEC-2023-1008'),
(1009, 'Georgios Christodoulou', 'SPEC-2023-1009'),
(1010, 'Anastasia Pappas', 'SPEC-2023-1010'),
(1011, 'Dimitrios Athanasiadis', 'SPEC-2023-1011'),
(1012, 'Eleni Papandreou', 'SPEC-2023-1012'),
(1013, 'Spyridon Tzortzis', 'SPEC-2023-1013'),
(1014, 'Panagiota Papageorgiou', 'SPEC-2023-1014'),
(1015, 'Ioannis Georgiou', 'SPEC-2023-1015'),
(1016, 'Athanasia Lefteris', 'SPEC-2023-1016'),
(1017, 'Michalis Vasilopoulos', 'SPEC-2023-1017'),
(1018, 'Christina Petrakis', 'SPEC-2023-1018'),
(1019, 'Apostolos Theodorou', 'SPEC-2023-1019'),
(1020, 'Vasiliki Papadimitriou', 'SPEC-2023-1020'),
(1021, 'Alexandros Kotsopoulos', 'SPEC-2023-1021'),
(1022, 'Kiriaki Zachariou', 'SPEC-2023-1022'),
(1023, 'Andreas Georgiadis', 'SPEC-2023-1023'),
(1024, 'Maria Zervos', 'SPEC-2023-1024'),
(1025, 'Christos Katsouras', 'SPEC-2023-1025'),
(1026, 'Katerina Papadopoulou', 'SPEC-2023-1026'),
(1027, 'Nikolaos Athanasiou', 'SPEC-2023-1027'),