-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathschema.sql
More file actions
executable file
·525 lines (351 loc) · 10.3 KB
/
schema.sql
File metadata and controls
executable file
·525 lines (351 loc) · 10.3 KB
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
create table player_stats (
league_name varchar(64),
season varchar(16),
match_id int,
match_time datetime 'MM/DD/YYYY HH:MM:SS',
is_home_team char(1),
team_id int,
team_name varchar(64),
player_id int,
player_name varchar(64),
player_score float,
pos_category int,
pos_cur_match varchar(8),
substitution_flag int,
substitution_minute int,
rating float,
shield_ball_oop float,
won_contest float,
saves float,
clearance_off_line float,
pass_inaccurate float,
overrun float,
post_scoring_att float,
duel_won float,
tackle_lost float,
goal_assist float,
touches float,
total_final_third_passes float,
keeper_claim_high_lost float,
successful_put_through float,
aerial_won float,
dangerous_play float,
successful_final_third_passes float,
blocked_cross float,
big_chance_missed float,
duel_ground_won float,
keeper_sweeper_lost float,
ontarget_scoring_att float,
long_pass_own_to_opp_success float,
total_sub_off float,
accurate_through_ball float,
accurate_cross_nocorner float,
total_sub_on float,
passes_left float,
lost_corners float,
rating_offensive_points float,
attempted_tackle_foul float,
interception_won float,
total_long_balls float,
rating_defensive_points float,
last_man_tackle float,
cross_inaccurate float,
total_keeper_sweeper float,
effective_clearance float,
was_fouled float,
big_chance_created float,
fouled_final_third float,
yellow_card float,
head_clearance float,
dispossessed float,
final_third_entries float,
man_of_the_match float,
total_contest float,
crosses_18yard float,
total_corners_intobox float,
hit_woodwork float,
goal_kicks float,
accurate_flick_on float,
six_yard_block float,
keeper_throws float,
won_corners float,
keeper_pick_up float,
accurate_keeper_throws float,
rating_defensive float,
dive_catch float,
accurate_cross float,
accurate_long_balls float,
poss_lost_ctrl float,
error_lead_to_goal float,
fouls float,
cross_not_claimed float,
effective_head_clearance float,
accurate_throws float,
accurate_launches float,
saved_obox float,
duel_ground_lost float,
second_yellow float,
total_throws float,
duel_lost float,
dribble_lost float,
total_tackle float,
pass_backzone_inaccurate float,
interception float,
goal_fastbreak float,
total_pull_back float,
poss_lost_all float,
ball_recovery float,
gk_smother float,
stand_save float,
pass_longball_inaccurate float,
rating_points float,
passes_right float,
effective_blocked_cross float,
aerial_lost float,
challenge_lost float,
game_started float,
own_goals float,
goals float,
total_high_claim float,
total_scoring_att float,
put_through float,
corner_taken float,
outfielder_block float,
dive_save float,
total_clearance float,
unsuccessful_touch float,
total_offside float,
total_launches float,
goals_openplay float,
total_flick_on float,
stand_catch float,
shot_fastbreak float,
big_chance_scored float,
accurate_freekick_cross float,
error_lead_to_shot float,
long_pass_own_to_opp float,
crosses_18yardplus float,
punches float,
diving_save float,
blocked_scoring_att float,
total_through_ball float,
second_goal_assist float,
freekick_cross float,
saved_ibox float,
accurate_goal_kicks float,
hand_ball float,
total_fastbreak float,
total_cross_nocorner float,
foul_throw_in float,
won_tackle float,
mins_played float,
red_card float,
accurate_corners_intobox float,
formation_place float,
accurate_pull_back float,
accurate_layoffs float,
pass_forwardzone_inaccurate float,
pass_throughball_inacurate float,
total_cross float,
shot_off_target float,
goal_normal float,
position float,
total_layoffs float,
good_high_claim float,
offside_provoked float,
rating_offensive float,
accurate_keeper_sweeper float,
interceptions_in_box float,
turnover float,
keeper_claim_lost float,
offtarget_att_assist float,
ontarget_att_assist float,
total_att_assist float,
successful_open_play_pass float,
blocked_pass float,
rightside_pass float,
head_pass float,
fwd_pass float,
open_play_pass float,
leftside_pass float,
backward_pass float,
accurate_chipped_pass float,
accurate_pass float,
accurate_back_zone_pass float,
accurate_fwd_zone_pass float,
total_pass float,
total_chipped_pass float,
total_back_zone_pass float,
total_fwd_zone_pass float,
att_assist_setplay float,
att_assist_openplay float,
att_fastbreak float,
att_one_on_one float,
att_openplay float,
att_obp_goal float,
att_setpiece float,
att_freekick_total float,
att_freekick_goal float,
att_freekick_miss float,
att_freekick_target float,
att_freekick_post float,
goal_assist_deadball float,
goal_assist_intentional float,
goal_assist_openplay float,
goal_assist_setplay float,
attempts_conceded_obox float,
attempts_conceded_ibox float,
assist_blocked_shot float,
assist_post float,
assist_penalty_won float,
assist_handball_won float,
assist_pass_lost float,
assist_own_goal float,
assist_attempt_saved float,
assist_free_kick_won float,
pen_area_entries float,
pen_goals_conceded float,
poss_won_att_3rd float,
poss_won_def_3rd float,
poss_won_mid_3rd float,
penalty_conceded float,
penalty_shootout_scored float,
penalty_shootout_conceded_gk float,
penalty_missed float,
penalty_save float,
penalty_shootout_saved_gk float,
penalty_won float,
penalty_shootout_missed_off_target float,
penalty_faced float,
penalty_shootout_saved float,
att_post_high float,
att_post_right float,
att_post_left float,
att_miss_right float,
att_miss_high float,
att_miss_high_left float,
att_miss_left float,
att_miss_high_right float,
att_hd_miss float,
att_hd_goal float,
att_hd_total float,
att_hd_target float,
att_hd_post float,
att_ibox_blocked float,
att_ibox_goal float,
att_ibox_target float,
att_ibox_post float,
att_ibox_miss float,
att_obox_post float,
att_obox_goal float,
att_obox_target float,
att_obox_blocked float,
att_obox_miss float,
att_obxd_right float,
att_obxd_left float,
att_sv_low_left float,
att_sv_high_left float,
att_sv_high_right float,
att_sv_low_right float,
att_sv_high_centre float,
att_sv_low_centre float,
att_obx_right float,
att_obx_left float,
att_obx_centre float,
att_bx_right float,
att_bx_left float,
att_bx_centre float,
att_lg_right float,
att_lg_left float,
att_lg_centre float,
att_lf_goal float,
att_lf_total float,
att_lf_target float,
att_rf_target float,
att_rf_total float,
att_rf_goal float,
att_goal_high_left float,
att_goal_low_right float,
att_goal_low_left float,
att_goal_low_centre float,
att_goal_high_right float,
att_goal_high_centre float,
att_pen_target float,
att_pen_goal float,
att_pen_miss float,
att_pen_post float,
att_cmiss_high_left float,
att_cmiss_right float,
att_cmiss_high float,
att_cmiss_left float,
att_cmiss_high_right float,
goal_scored_by_team_dmc float,
goal_scored_by_team_fwl float,
goal_scored_by_team_dr float,
goal_scored_by_team_dc float,
goal_scored_by_team_dl float,
goal_scored_by_team_mr float,
goal_scored_by_team_amr float,
goal_scored_by_team_mc float,
goal_scored_by_team_fw float,
goal_scored_by_team_gk float,
goal_scored_by_team_fwr float,
goal_scored_by_team_amc float,
goal_scored_by_team_sub float,
goal_scored_by_team_aml float,
goal_scored_by_team_ml float,
goal_scored_by_team_dml float,
goal_scored_by_team_dmr float,
clean_sheet_gk float,
clean_sheet_mc float,
clean_sheet_fw float,
clean_sheet_amr float,
clean_sheet_dr float,
clean_sheet_dl float,
clean_sheet_dc float,
clean_sheet_mr float,
clean_sheet_fwl float,
clean_sheet_amc float,
clean_sheet_dmc float,
clean_sheet_aml float,
clean_sheet_ml float,
clean_sheet_fwr float,
clean_sheet_dmr float,
clean_sheet_dml float,
goals_conceded_ml float,
goals_conceded_mc float,
goals_conceded_fw float,
goals_conceded_gk float,
goals_conceded_ibox float,
goals_conceded_dl float,
goals_conceded_dr float,
goals_conceded_dmc float,
goals_conceded_dc float,
goals_conceded_sub float,
goals_conceded_amc float,
goals_conceded_aml float,
goals_conceded_amr float,
goals_conceded_fwl float,
goals_conceded_mr float,
goals_conceded_fwr float,
goals_conceded_dml float,
goals_conceded_dmr float,
goals_conceded_obox_gk float,
goals_conceded_obox_mc float,
goals_conceded_obox_ml float,
goals_conceded_obox_amc float,
goals_conceded_obox_aml float,
goals_conceded_obox_dr float,
goals_conceded_obox_dc float,
goals_conceded_obox_amr float,
goals_conceded_obox_fw float,
goals_conceded_obox_fwl float,
goals_conceded_obox_fwr float,
goals_conceded_obox_mr float,
goals_conceded_obox_sub float,
goals_conceded_obox_dmc float,
goals_conceded_obox_dl float,
goals_conceded_obox_dmr float,
goals_conceded_obox_dml float,
primary key (player_id, match_id)
);