-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathworld_cup_app_18.sql
486 lines (407 loc) · 22.7 KB
/
world_cup_app_18.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
-- phpMyAdmin SQL Dump
-- version 4.7.7
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Mar 30, 2018 at 05:26 PM
-- Server version: 5.6.38
-- PHP Version: 5.6.32
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
--
-- Database: `world_cup_app_18`
--
-- --------------------------------------------------------
--
-- Table structure for table `ARTICLE`
--
CREATE TABLE `ARTICLE` (
`ARTICLE_ID` int(11) NOT NULL,
`ARTICLE_TITLE` varchar(150) NOT NULL,
`ARTICLE_DESCRIPTION` text NOT NULL,
`ARTICLE_IMAGE` varchar(500) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Structure de la table `player`
--
CREATE TABLE `PLAYER` (
`PLAYER_ID` int(4) NOT NULL,
`PLAYER_NAME` varchar(40) NOT NULL,
`PLAYER_AGE` int(2) NOT NULL,
`PLAYER_TEAM` varchar(40) DEFAULT NULL,
`PLAYER_POSITION` varchar(40) DEFAULT NULL,
`PLAYER_CLUB` varchar(25) NOT NULL,
`PLAYER_HEIGHT` varchar(25) NOT NULL,
`PLAYER_PICTURE` varchar(300) DEFAULT NULL,
`PLAYER_WEIGHT` varchar(25) NOT NULL,
`PLAYER_TSHIRT` int(2) NOT NULL,
`PLAYER_NOTE` int(3) NOT NULL,
`PLAYER_NUMBER_NOTE` int(3) NOT NULL,
`PLAYER_RATING` float NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `fos_user`
--
CREATE TABLE `fos_user` (
`id` int(11) NOT NULL,
`username` varchar(180) COLLATE utf8_unicode_ci NOT NULL,
`username_canonical` varchar(180) COLLATE utf8_unicode_ci NOT NULL,
`email` varchar(180) COLLATE utf8_unicode_ci NOT NULL,
`email_canonical` varchar(180) COLLATE utf8_unicode_ci NOT NULL,
`enabled` tinyint(1) NOT NULL,
`salt` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`password` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`last_login` datetime DEFAULT NULL,
`confirmation_token` varchar(180) COLLATE utf8_unicode_ci DEFAULT NULL,
`password_requested_at` datetime DEFAULT NULL,
`roles` longtext COLLATE utf8_unicode_ci NOT NULL COMMENT '(DC2Type:array)'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `fos_user`
--
INSERT INTO `fos_user` (`id`, `username`, `username_canonical`, `email`, `email_canonical`, `enabled`, `salt`, `password`, `last_login`, `confirmation_token`, `password_requested_at`, `roles`) VALUES
(1, 'testuser', 'testuser', '[email protected]', '[email protected]', 1, NULL, '$2y$13$PlMIKVidCIrkDmFxw6Hm9uEvu6uB5sPAYoHvnavOF4RG24iaBSU9W', NULL, NULL, NULL, 'a:0:{}'),
(3, 'codereview', 'codereview', '[email protected]', '[email protected]', 1, NULL, '$2y$13$4ZFMLhCEWyia6Ly1DNV9oeM5gF2xo.7AbsKaHn7O3O1KLB3I1cRhC', '2018-03-23 19:41:24', NULL, NULL, 'a:0:{}'),
(4, 'idris', 'idris', '[email protected]', '[email protected]', 1, NULL, '$2y$13$UgYYauGuciqhdRJlm7kMWOMQd3fCaCgAuXBMWG/pyuLhkZWzRRfbK', '2018-03-29 15:55:13', 'AtSzuqDq39Df-QRTYmCP172ndEM9K1bEW8JVf_XITGk', '2018-03-23 19:44:59', 'a:0:{}');
-- --------------------------------------------------------
--
-- Table structure for table `GAME`
--
CREATE TABLE `GAME` (
`GAME_ID` int(3) NOT NULL,
`GAME_KIND` varchar(40) NOT NULL,
`GAME_WINNERTEAM` varchar(45) NOT NULL,
`GAME_LOSSTEAM` varchar(45) NOT NULL,
`GAME_TIME` varchar(45) NOT NULL,
`GAME_DATE` date NOT NULL,
`GAME_WINNERTEAMSCORE` int(2) NOT NULL,
`GAME_LOSSTEAMSCORE` int(2) NOT NULL,
`GAME_REFEREE` varchar(50) NOT NULL DEFAULT 'UNKNOWN',
`GAME_STADIUM` varchar(40) NOT NULL,
`GAME_VENUE` varchar(40) NOT NULL,
`GAME_MATCHNUMBER` int(2) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `GAME`
--
INSERT INTO `GAME` (`GAME_ID`, `GAME_KIND`, `GAME_WINNERTEAM`, `GAME_LOSSTEAM`, `GAME_TIME`, `GAME_DATE`, `GAME_WINNERTEAMSCORE`, `GAME_LOSSTEAMSCORE`, `GAME_REFEREE`, `GAME_STADIUM`, `GAME_VENUE`, `GAME_MATCHNUMBER`) VALUES
(129, 'Group A', 'Russia', 'Saudi Arabia', '18:00', '2018-06-14', 0, 0, 'unknown', 'Luzhniki Stadium', 'Moscow', 1),
(130, 'Group A', 'Egypt', 'Uruguay', '17:00', '2018-06-15', 0, 0, 'unknown', 'Ekaterinburg Arena', 'Ekaterinburg', 2),
(131, 'Group B', 'Morocco', 'IR Iran', '18:00', '2018-06-15', 0, 0, 'unknown', 'Saint Petersburg Stadium', 'Saint Petersburg', 4),
(132, 'Group B', 'Portugal', 'Spain', '21:00', '2018-06-15', 0, 0, 'unknown', 'Fisht Stadium', 'Sochi', 3),
(133, 'Group C', 'France', 'Australia', '13:00', '2018-06-16', 0, 0, 'unknown', 'Kazan Arena', 'Kazan', 5),
(134, 'Group D', 'Argentina', 'Iceland', '16:00', '2018-06-16', 0, 0, 'unknown', 'Spartak Stadium', 'Moscow', 7),
(135, 'Group C', 'Peru', 'Denmark', '19:00', '2018-06-16', 0, 0, 'unknown', 'Mordovia Arena', 'Saransk', 6),
(136, 'Group D', 'Croatia', 'Nigeria', '21:00', '2018-06-16', 0, 0, 'unknown', 'Kaliningrad Stadium', 'Kaliningrad', 8),
(137, 'Group E', 'Costa Rica', 'Serbia', '16:00', '2018-06-17', 0, 0, 'unknown', 'Samara Arena', 'Samara', 10),
(138, 'Group F', 'Germany', 'Mexico', '18:00', '2018-06-17', 0, 0, 'unknown', 'Luzhniki Stadium', 'Moscow', 11),
(139, 'Group E', 'Brazil', 'Switzerland', '21:00', '2018-06-17', 0, 0, 'unknown', 'Rostov Arena', 'Rostov-On-Don', 9),
(140, 'Group F', 'Sweden', 'Korea Republic', '15:00', '2018-06-18', 0, 0, 'unknown', 'Nizhny Novgorod Stadium', 'Nizhny Novgorod', 12),
(141, 'Group G', 'Belgium', 'Panama', '18:00', '2018-06-18', 0, 0, 'unknown', 'Fisht Stadium', 'Sochi', 13),
(142, 'Group G', 'Tunisia', 'England', '21:00', '2018-06-18', 0, 0, 'unknown', 'Volgograd Arena', 'Volgograd', 14),
(143, 'Group H', 'Colombia', 'Japan', '15:00', '2018-06-19', 0, 0, 'unknown', 'Mordovia Arena', 'Saransk', 16),
(144, 'Group H', 'Poland', 'Senegal', '18:00', '2018-06-19', 0, 0, 'unknown', 'Spartak Stadium', 'Moscow', 15),
(145, 'Group A', 'Russia', 'Egypt', '21:00', '2018-06-19', 0, 0, 'unknown', 'Saint Petersburg Stadium', 'Saint Petersburg', 17),
(146, 'Group B', 'Portugal', 'Morocco', '15:00', '2018-06-20', 0, 0, 'unknown', 'Luzhniki Stadium', 'Moscow', 19),
(147, 'Group A', 'Uruguay', 'Saudi Arabia', '18:00', '2018-06-20', 0, 0, 'unknown', 'Rostov Arena', 'Rostov-On-Don', 18),
(148, 'Group B', 'IR Iran', 'Spain', '21:00', '2018-06-20', 0, 0, 'unknown', 'Kazan Arena', 'Kazan', 20),
(149, 'Group C', 'Denmark', 'Australia', '16:00', '2018-06-21', 0, 0, 'unknown', 'Samara Arena', 'Samara', 22),
(150, 'Group C', 'France', 'Peru', '20:00', '2018-06-21', 0, 0, 'unknown', 'Ekaterinburg Arena', 'Ekaterinburg', 21),
(151, 'Group D', 'Argentina', 'Croatia', '21:00', '2018-06-21', 0, 0, 'unknown', 'Nizhny Novgorod Stadium', 'Nizhny Novgorod', 23),
(152, 'Group E', 'Brazil', 'Costa Rica', '15:00', '2018-06-22', 0, 0, 'unknown', 'Saint Petersburg Stadium', 'Saint Petersburg', 25),
(153, 'Group D', 'Nigeria', 'Iceland', '18:00', '2018-06-22', 0, 0, 'unknown', 'Volgograd Arena', 'Volgograd', 24),
(154, 'Group E', 'Serbia', 'Switzerland', '20:00', '2018-06-22', 0, 0, 'unknown', 'Kaliningrad Stadium', 'Kaliningrad', 26),
(155, 'Group G', 'Belgium', 'Tunisia', '15:00', '2018-06-23', 0, 0, 'unknown', 'Spartak Stadium', 'Moscow', 29),
(156, 'Group F', 'Korea Republic', 'Mexico', '18:00', '2018-06-23', 0, 0, 'unknown', 'Rostov Arena', 'Rostov-On-Don', 28),
(157, 'Group F', 'Germany', 'Sweden', '21:00', '2018-06-23', 0, 0, 'unknown', 'Fisht Stadium', 'Sochi', 27),
(158, 'Group G', 'England', 'Panama', '15:00', '2018-06-24', 0, 0, 'unknown', 'Nizhny Novgorod Stadium', 'Nizhny Novgorod', 30),
(159, 'Group H', 'Japan', 'Senegal', '20:00', '2018-06-24', 0, 0, 'unknown', 'Ekaterinburg Arena', 'Ekaterinburg', 32),
(160, 'Group H', 'Poland', 'Colombia', '21:00', '2018-06-24', 0, 0, 'unknown', 'Kazan Arena', 'Kazan', 31),
(161, 'Group A', 'Uruguay', 'Russia', '18:00', '2018-06-25', 0, 0, 'unknown', 'Samara Arena', 'Samara', 33),
(162, 'Group A', 'Saudi Arabia', 'Egypt', '17:00', '2018-06-25', 0, 0, 'unknown', 'Volgograd Arena', 'Volgograd', 34),
(163, 'Group B', 'IR Iran', 'Portugal', '21:00', '2018-06-25', 0, 0, 'unknown', 'Mordovia Arena', 'Saransk', 35),
(164, 'Group B', 'Spain', 'Morocco', '20:00', '2018-06-25', 0, 0, 'unknown', 'Kaliningrad Stadium', 'Kaliningrad', 36),
(165, 'Group C', 'Denmark', 'France', '17:00', '2018-06-26', 0, 0, 'unknown', 'Luzhniki Stadium', 'Moscow', 37),
(166, 'Group C', 'Australia', 'Peru', '17:00', '2018-06-26', 0, 0, 'unknown', 'Fisht Stadium', 'Sochi', 38),
(167, 'Group D', 'Nigeria', 'Argentina', '21:00', '2018-06-26', 0, 0, 'unknown', 'Saint Petersburg Stadium', 'Saint Petersburg', 39),
(168, 'Group D', 'Iceland', 'Croatia', '21:00', '2018-06-26', 0, 0, 'unknown', 'Rostov Arena', 'Rostov-On-Don', 40),
(169, 'Group F', 'Mexico', 'Sweden', '19:00', '2018-06-27', 0, 0, 'unknown', 'Ekaterinburg Arena', 'Ekaterinburg', 44),
(170, 'Group F', 'Korea Republic', 'Germany', '17:00', '2018-06-27', 0, 0, 'unknown', 'Kazan Arena', 'Kazan', 43),
(171, 'Group E', 'Serbia', 'Brazil', '21:00', '2018-06-27', 0, 0, 'unknown', 'Spartak Stadium', 'Moscow', 41),
(172, 'Group E', 'Switzerland', 'Costa Rica', '21:00', '2018-06-27', 0, 0, 'unknown', 'Nizhny Novgorod Stadium', 'Nizhny Novgorod', 42),
(173, 'Group H', 'Japan', 'Poland', '17:00', '2018-06-28', 0, 0, 'unknown', 'Volgograd Arena', 'Volgograd', 47),
(174, 'Group H', 'Senegal', 'Colombia', '18:00', '2018-06-28', 0, 0, 'unknown', 'Samara Arena', 'Samara', 48),
(175, 'Group G', 'Panama', 'Tunisia', '21:00', '2018-06-28', 0, 0, 'unknown', 'Mordovia Arena', 'Saransk', 46),
(176, 'Group G', 'England', 'Belgium', '20:00', '2018-06-28', 0, 0, 'unknown', 'Kaliningrad Stadium', 'Kaliningrad', 45),
(177, 'Round of 16', '[1C]', '[2D]', '17:00', '2018-06-30', 0, 0, 'unknown', 'Kazan Arena', 'Kazan', 50),
(178, 'Round of 16', '[1A]', '[2B]', '21:00', '2018-06-30', 0, 0, 'unknown', 'Fisht Stadium', 'Sochi', 49),
(179, 'Round of 16', '[1B]', '[2A]', '17:00', '2018-07-01', 0, 0, 'unknown', 'Luzhniki Stadium', 'Moscow', 51),
(180, 'Round of 16', '[1D]', '[2C]', '21:00', '2018-07-01', 0, 0, 'unknown', 'Nizhny Novgorod Stadium', 'Nizhny Novgorod', 52),
(181, 'Round of 16', '[1E]', '[2F]', '18:00', '2018-07-02', 0, 0, 'unknown', 'Samara Arena', 'Samara', 53),
(182, 'Round of 16', '[1G]', '[2H]', '21:00', '2018-07-02', 0, 0, 'unknown', 'Rostov Arena', 'Rostov-On-Don', 54),
(183, 'Round of 16', '[1F]', '[2E]', '17:00', '2018-07-03', 0, 0, 'unknown', 'Saint Petersburg Stadium', 'Saint Petersburg', 55),
(184, 'Round of 16', '[1H]', '[2G]', '21:00', '2018-07-03', 0, 0, 'unknown', 'Spartak Stadium', 'Moscow', 56),
(185, 'Quarter-finals', '[W49]', '[W50]', '17:00', '2018-07-06', 0, 0, 'unknown', 'Nizhny Novgorod Stadium', 'Nizhny Novgorod', 57),
(186, 'Quarter-finals', '[W53]', '[W54]', '21:00', '2018-07-06', 0, 0, 'unknown', 'Kazan Arena', 'Kazan', 58),
(187, 'Quarter-finals', '[W55]', '[W56]', '18:00', '2018-07-07', 0, 0, 'unknown', 'Samara Arena', 'Samara', 60),
(188, 'Quarter-finals', '[W51]', '[W52]', '21:00', '2018-07-07', 0, 0, 'unknown', 'Fisht Stadium', 'Sochi', 59),
(189, 'Semi-finals', '[W57]', '[W58]', '21:00', '2018-07-10', 0, 0, 'unknown', 'Saint Petersburg Stadium', 'Saint Petersburg', 61),
(190, 'Semi-finals', '[W59]', '[W60]', '21:00', '2018-07-11', 0, 0, 'unknown', 'Luzhniki Stadium', 'Moscow', 62),
(191, 'Play-off for third place', '[L61]', '[L62]', '17:00', '2018-07-14', 0, 0, 'unknown', 'Saint Petersburg Stadium', 'Saint Petersburg', 63),
(192, 'Final', '[W61]', '[W62]', '18:00', '2018-07-15', 0, 0, 'unknown', 'Luzhniki Stadium', 'Moscow', 64),
(193, 'sdf', 'qsd', 'qs', '12:12', '2018-03-06', 2, 3, 'qsd', 'qsd', 'qsd', 12);
-- --------------------------------------------------------
--
-- Table structure for table `GOAL`
--
CREATE TABLE `GOAL` (
`GOAL_ID` int(3) NOT NULL,
`GOAL_GAME` int(3) DEFAULT NULL,
`GOAL_PLAYER` int(4) DEFAULT NULL,
`GOAL_TIME` time NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Structure de la table `team`
--
CREATE TABLE `TEAM` (
`TEAM_ID` int(3) NOT NULL,
`TEAM_NAME` varchar(45) DEFAULT NULL,
`TEAM_COACH` varchar(45) DEFAULT NULL,
`TEAM_INTMATCHPLAYED` int(1) DEFAULT '0',
`TEAM_INTMATCHWON` int(1) DEFAULT '0',
`TEAM_INTMATCHLOST` int(1) DEFAULT '0',
`TEAM_INTMATCHDRAW` int(1) DEFAULT '0',
`TEAM_GOALSFOR` int(2) DEFAULT '0',
`TEAM_GOALSAGAINST` int(2) DEFAULT '0',
`TEAM_POINTS` int(2) DEFAULT '0',
`TEAM_POSITION` int(3) DEFAULT '0',
`TEAM_GROUP` char(1) NOT NULL,
`TEAM_CONTINENT` varchar(45) NOT NULL,
`TEAM_LOGO` varchar(500) NOT NULL,
`TEAM_FLAG` varchar(500) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Contenu de la table `team`
--
INSERT INTO `team` (`TEAM_ID`, `TEAM_NAME`, `TEAM_COACH`, `TEAM_INTMATCHPLAYED`, `TEAM_INTMATCHWON`, `TEAM_INTMATCHLOST`, `TEAM_INTMATCHDRAW`, `TEAM_GOALSFOR`, `TEAM_GOALSAGAINST`, `TEAM_POINTS`, `TEAM_POSITION`, `TEAM_GROUP`, `TEAM_CONTINENT`, `TEAM_LOGO`, `TEAM_FLAG`) VALUES
(28, 'Brazil', 'Tite', 0, 0, 0, 0, 0, 0, 0, 0, 'E', 'Amerique de sud', 'téléchargement.png', '225px-Flag_of_Brazil.svg.png'),
(25, 'Tunisie', 'Nabil Maaloul', 0, 0, 0, 0, 0, 0, 0, 0, 'G', 'Afrique', 'file:/C:/Users/pacha/Pictures/logos/Tunisia_FA.svg.png', 'file:/C:/Users/pacha/Pictures/drapeaux/tunisia.png'),
(24, 'Belgique', 'Roberto Martínez Montoliú', 0, 0, 0, 0, 0, 0, 0, 0, 'G', 'Europe', 'file:/C:/Users/pacha/Pictures/logos/URBSFA.jpg', 'file:/C:/Users/pacha/Pictures/drapeaux/drapeau-belgique.jpg'),
(29, 'France', 'Didier Deschamps', 0, 0, 0, 0, 0, 0, 0, 0, 'C', 'Europe', 'file:/C:/Users/pacha/Pictures/logos/00552682.jpg', 'file:/C:/Users/pacha/Pictures/drapeaux/225px-Flag_of_France.svg.png'),
(30, 'Egypt', 'Hector Cuper', 0, 0, 0, 0, 0, 0, 0, 0, 'A', 'Afrique', 'file:/C:/Users/pacha/Pictures/logos/Football_Égypte_federation.svg.png', 'file:/C:/Users/pacha/Pictures/drapeaux/255px-Flag_of_Egypt.svg.png'),
(31, 'Angleterre', 'Gareth Southgate', 0, 0, 0, 0, 0, 0, 0, 0, 'G', 'Europe', 'file:/C:/Users/pacha/Pictures/logos/200px-Football_Angleterre_federation.png', 'file:/C:/Users/pacha/Pictures/drapeaux/225px-Flag_of_England.svg.png'),
(32, 'Panama', 'Hernán Darío Gómez', 0, 0, 0, 0, 0, 0, 0, 0, 'G', 'Amerique de nord', 'file:/C:/Users/pacha/Pictures/logos/téléchargement%20(1).png', 'file:/C:/Users/pacha/Pictures/drapeaux/225px-Flag_of_Panama.svg.png'),
(33, 'Russie', 'Stanislav Tchertchessov', 0, 0, 0, 0, 0, 0, 0, 0, 'A', 'Europe', 'file:/C:/Users/pacha/Pictures/logos/téléchargement%20(2).png', 'file:/C:/Users/pacha/Pictures/drapeaux/81NfOcqiXtL._SX355_.jpg'),
(39, 'Arabie Saoudite', 'Juan Antonio Pizzi', 0, 0, 0, 0, 0, 0, 0, 0, 'A', 'Asie & Océanie', 'file:/C:/Users/pacha/Pictures/logos/saudi_arabia_national_football.png', 'file:/C:/Users/pacha/Pictures/drapeaux/téléchargement%20(5).png'),
(38, 'Uruguay', 'Óscar Tabárez', 0, 0, 0, 0, 0, 0, 0, 0, 'A', 'Amerique de sud', 'file:/C:/Users/pacha/Pictures/téléchargement%20(4).png', 'file:/C:/Users/pacha/Pictures/téléchargement%20(3).png'),
(40, 'Espagne', 'Julen Lopetegui', 0, 0, 0, 0, 0, 0, 0, 0, 'B', 'Europe', 'file:/C:/Users/pacha/Pictures/logos/téléchargement%20(7).png', 'file:/C:/Users/pacha/Pictures/drapeaux/téléchargement%20(6).png'),
(41, 'Portugal', 'Fernando Santos', 0, 0, 0, 0, 0, 0, 0, 0, 'B', 'Europe', 'file:/C:/Users/pacha/Pictures/Football_Portugal_federation.svg.png', 'file:/C:/Users/pacha/Pictures/pt.png'),
(42, 'Maroc', 'Hervé Renard', 0, 0, 0, 0, 0, 0, 0, 0, 'B', 'Afrique', 'file:/C:/Users/pacha/Pictures/20170607084347!Football_Maroc_federation.png', 'file:/C:/Users/pacha/Pictures/225px-Flag_of_Morocco.svg.png'),
(43, 'Iran', 'Carlos Queiroz', 0, 0, 0, 0, 0, 0, 0, 0, 'B', 'Asie & Océanie', 'file:/C:/Users/pacha/Pictures/Football_Federation_Islamic_Republic_of_Iran.png', 'file:/C:/Users/pacha/Pictures/225px-Flag_of_Iran.svg.png'),
(44, 'Australie', 'Bert van Marwijk', 0, 0, 0, 0, 0, 0, 0, 0, 'C', 'Asie & Océanie', 'file:/C:/Users/pacha/Pictures/téléchargement.jpg', 'file:/C:/Users/pacha/Pictures/au.png'),
(45, 'Peru', 'Ricardo Gareca', 0, 0, 0, 0, 0, 0, 0, 0, 'C', 'Amerique de sud', 'file:/C:/Users/pacha/Pictures/1200px-Fpf-logo.svg.png', 'file:/C:/Users/pacha/Pictures/téléchargement%20(8).png'),
(46, 'Danemark', 'Åge Hareide', 0, 0, 0, 0, 0, 0, 0, 0, 'C', 'Europe', 'file:/C:/Users/pacha/Pictures/téléchargement%20(10).png', 'file:/C:/Users/pacha/Pictures/téléchargement%20(9).png'),
(47, 'Argentine', 'Jorge Sampaoli', 0, 0, 0, 0, 0, 0, 0, 0, 'D', 'Amerique de sud', 'file:/C:/Users/pacha/Pictures/téléchargement%20(11).png', 'file:/C:/Users/pacha/Pictures/225px-Flag_of_Argentina.svg.png'),
(48, 'Nigeria', 'Salisu Yusuf', 0, 0, 0, 0, 0, 0, 0, 0, 'D', 'Afrique', 'file:/C:/Users/pacha/Pictures/téléchargement%20(1).jpg', 'file:/C:/Users/pacha/Pictures/1200px-Flag_of_Nigeria.svg.png'),
(49, 'Islande', 'Heimir Hallgrímsson', 0, 0, 0, 0, 0, 0, 0, 0, 'D', 'Europe', '1200px-Fpf-logo.svg.png', '1200px-Fpf-logo.svg.png'),
(50, 'Croatie', 'Ante ?a?i?, Zlatko Dali?', 0, 0, 0, 0, 0, 0, 0, 0, 'D', 'Europe', 'file:/C:/Users/pacha/Pictures/téléchargement%20(13).png', 'file:/C:/Users/pacha/Pictures/Civil_Ensign_of_Croatia.svg.png'),
(51, 'Suisse', 'Vladimir Petkovi?', 0, 0, 0, 0, 0, 0, 0, 0, 'E', 'Europe', 'file:/C:/Users/pacha/Pictures/téléchargement%20(14).png', 'file:/C:/Users/pacha/Pictures/1200px-Flag_of_Switzerland.svg.png'),
(52, 'Costa Rica', 'Oscar Ramírez', 0, 0, 0, 0, 0, 0, 0, 0, 'E', 'Amerique de nord', 'file:/C:/Users/pacha/Pictures/téléchargement%20(15).png', 'file:/C:/Users/pacha/Pictures/225px-Flag_of_Costa_Rica_(state).svg.png'),
(53, 'Serbie', 'Mladen Krstaji?', 0, 0, 0, 0, 0, 0, 0, 0, 'E', 'Europe', 'file:/C:/Users/pacha/Pictures/téléchargement%20(16).png', 'file:/C:/Users/pacha/Pictures/225px-Flag_of_Serbia.svg.png'),
(54, 'Allemagne', 'Joachim Löw', 0, 0, 0, 0, 0, 0, 0, 0, 'F', 'Europe', '00552682.jpg', '225px-Flag_of_Argentina.svg.png'),
(69, 'ajouter', 'aziz', 0, 0, 0, 0, 0, 0, 0, 0, 'B', 'Asie & Océanie', '1200px-Fpf-logo.svg.png', '81NfOcqiXtL._SX355_.jpg'),
(68, 'ttt', 'tt', 0, 0, 0, 0, 0, 0, 0, 0, 'A', 'Asie & Océanie', '200px-Football_Angleterre_federation.png', '1200px-Fpf-logo.svg.png'),
(67, 'aaa', 'aaaa', 0, 0, 0, 0, 0, 0, 0, 0, 'A', 'Afrique', '1200px-Fpf-logo.svg.png', '1200px-Fpf-logo.svg.png');
-- --------------------------------------------------------
--
-- Structure de la table `stadium`
--
CREATE TABLE `STADIUM` (
`STADIUM_ID` int(1) NOT NULL,
`STADIUM_NAME` varchar(25) NOT NULL,
`STADIUM_LOCATION` varchar(50) NOT NULL,
`STADIUM_CAPACITY` int(1) NOT NULL,
`STADIUM_PICTURE` varchar(500) DEFAULT NULL,
`STADIUM_LOCATION_X` varchar(50) NOT NULL,
`STADIUM_LOCATION_Y` varchar(50) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Structure de la table `event`
--
CREATE TABLE `EVENT` (
`EVENT_ID` int(1) NOT NULL,
`EVENT_NAME` varchar(25) NOT NULL,
`EVENT_DATE` date NOT NULL,
`EVENT_END` date NOT NULL,
`EVENT_GOUV` varchar(50) DEFAULT NULL,
`EVENT_PLACE` varchar(50) NOT NULL,
`EVENT_DESC` varchar(200) NOT NULL,
`NBR_PARTICIP` int(4) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Structure de la table `station`
--
CREATE TABLE `STATION` (
`STATION_ID` int(11) NOT NULL,
`STATION_NAME` varchar(20) NOT NULL,
`STATION_LOCATION` varchar(30) NOT NULL,
`STATION_TYPE` varchar(30) NOT NULL,
`STATION_LOCATION_X` varchar(50) NOT NULL,
`STATION_LOCATION_Y` varchar(50) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `HOTEL`
--
CREATE TABLE `HOTEL` (
`HOTEL_ID` int(3) NOT NULL,
`HOTEL_NAME` varchar(30) NOT NULL,
`HOTEL_LOCATION` varchar(30) NOT NULL,
`HOTEL_STARS` int(1) NOT NULL,
`HOTEL_LOCATION_X` varchar(50) NOT NULL,
`HOTEL_LOCATION_Y` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `NOTE`
--
CREATE TABLE `NOTE` (
`NOTE_ID` int(11) NOT NULL,
`PLAYER_ID` int(11) NOT NULL,
`USER_ID` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `PARTICIPATION`
--
CREATE TABLE `PARTICIPATION` (
`PARTICIPATION_ID` int(11) NOT NULL,
`EVENT_ID` int(11) NOT NULL,
`USER_ID` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Indexes for dumped tables
--
--
-- Indexes for table `fos_user`
--
ALTER TABLE `fos_user`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `UNIQ_957A647992FC23A8` (`username_canonical`),
ADD UNIQUE KEY `UNIQ_957A6479A0D96FBF` (`email_canonical`),
ADD UNIQUE KEY `UNIQ_957A6479C05FB297` (`confirmation_token`);
--
-- Indexes for table `NOTE`
--
ALTER TABLE `NOTE`
ADD PRIMARY KEY (`NOTE_ID`);
--
-- Indexes for table `PARTICIPATION`
--
ALTER TABLE `PARTICIPATION`
ADD PRIMARY KEY (`PARTICIPATION_ID`);
--
-- Index pour la table `hotel`
--
ALTER TABLE `HOTEL`
ADD PRIMARY KEY (`HOTEL_ID`);
--
-- Index pour la table `player`
--
ALTER TABLE `PLAYER`
ADD PRIMARY KEY (`PLAYER_ID`),
ADD KEY `FK_PLAYER_TEAM` (`PLAYER_TEAM`);
--
-- Index pour la table `stadium`
--
ALTER TABLE `STADIUM`
ADD PRIMARY KEY (`STADIUM_ID`);
--
-- Index pour la table `article`
--
ALTER TABLE `ARTICLE`
ADD PRIMARY KEY (`ARTICLE_ID`);
--
-- Index pour la table `goal`
--
ALTER TABLE `GOAL`
ADD PRIMARY KEY (`GOAL_ID`);
--
-- Index pour la table `game`
--
ALTER TABLE `GAME`
ADD PRIMARY KEY (`GAME_ID`);
--
-- Index pour la table `station`
--
ALTER TABLE `STATION`
ADD PRIMARY KEY (`STATION_ID`);
--
-- Index pour la table `team`
--
ALTER TABLE `TEAM`
ADD PRIMARY KEY (`TEAM_ID`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `fos_user`
--
ALTER TABLE `fos_user`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT pour la table `player`
--
ALTER TABLE `PLAYER`
MODIFY `PLAYER_ID` int(4) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT pour la table `article`
--
ALTER TABLE `ARTICLE`
MODIFY `ARTICLE_ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT pour la table `game`
--
ALTER TABLE `GAME`
MODIFY `GAME_ID` int(3) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT pour la table `goal`
--
ALTER TABLE `GOAL`
MODIFY `GOAL_ID` int(3) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT pour la table `hotel`
--
ALTER TABLE `HOTEL`
MODIFY `HOTEL_ID` int(3) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT pour la table `stadium`
--
ALTER TABLE `STADIUM`
MODIFY `STADIUM_ID` int(1) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT pour la table `station`
--
ALTER TABLE `STATION`
MODIFY `STATION_ID` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT pour la table `team`
--
ALTER TABLE `TEAM`
MODIFY `TEAM_ID` int(3) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=70;
--
-- AUTO_INCREMENT for table `NOTE`
--
ALTER TABLE `NOTE`
MODIFY `NOTE_ID` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `PARTICIPATION`
--
ALTER TABLE `PARTICIPATION`
MODIFY `PARTICIPATION_ID` int(11) NOT NULL AUTO_INCREMENT;