home / football

match

61 rows where away_team_id = 227 sorted by date descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: home_team_id, home_score, away_score, result, round_stage, venue, city, country, is_neutral, created_at, date (date), created_at (date), updated_at (date)

match_id season_id date ▲ kickoff home_team_id away_team_id home_score away_score result round_stage matchday venue city country referee attendance is_neutral is_postponed is_cancelled created_at updated_at created_by_run_id updated_by_run_id source_id source_raw_key
49200 2026 1932 2026-03-29   British Virgin Islands 228 Anguilla 227 4 0 H CONCACAF Series   George Town George Town Cayman Islands     1 0 0 2026-06-07 06:59:02 2026-06-07 21:04:11.785996 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:49200
49143 2026 1932 2026-03-26   Bahamas 192 Anguilla 227 1 3 A CONCACAF Series   George Town George Town Cayman Islands     1 0 0 2026-06-07 06:59:02 2026-06-07 21:04:11.757171 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:49143
48938 2025 1922 2025-11-15   Cayman Islands 226 Anguilla 227 4 0 H CONCACAF Series   George Town George Town Cayman Islands     0 0 0 2026-06-07 06:59:02 2026-06-07 21:04:11.600358 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:48938
48864 2025 1922 2025-11-12   Bahamas 192 Anguilla 227 1 2 A CONCACAF Series   George Town George Town Cayman Islands     1 0 0 2026-06-07 06:59:02 2026-06-07 21:04:11.564530 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:48864
48318 2025 1907 2025-06-04   Saint Vincent and the Grenadines 165 Anguilla 227 6 0 H FIFA World Cup qualification   Kingstown Kingstown Saint Vincent and the Grenadines     0 0 0 2026-06-07 06:59:02 2026-06-07 21:04:11.298653 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:48318
48305 2025 1906 2025-06-01   Grenada 91 Anguilla 227 2 0 H Friendly   Saint George's Saint George's Grenada     0 0 0 2026-06-07 06:59:02 2026-06-07 21:04:11.292284 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:48305
47754 2024 1883 2024-10-12   Turks and Caicos Islands 255 Anguilla 227 2 1 H CONCACAF Nations League   Belmopan Belmopan Belize     1 0 0 2026-06-07 06:59:01 2026-06-07 21:04:10.980435 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:47754
47671 2024 1883 2024-10-09   Belize 225 Anguilla 227 1 0 H CONCACAF Nations League   Belmopan Belmopan Belize     0 0 0 2026-06-07 06:59:01 2026-06-07 21:04:10.939926 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:47671
47643 2024 1883 2024-09-10   Belize 225 Anguilla 227 1 0 H CONCACAF Nations League   Providenciales Providenciales Turks and Caicos Islands     1 0 0 2026-06-07 06:59:01 2026-06-07 21:04:10.926295 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:47643
47486 2024 1883 2024-09-04   Turks and Caicos Islands 255 Anguilla 227 0 2 A CONCACAF Nations League   Providenciales Providenciales Turks and Caicos Islands     0 0 0 2026-06-07 06:59:01 2026-06-07 21:04:10.849431 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:47486
47367 2024 1886 2024-06-11   Puerto Rico 97 Anguilla 227 8 0 H FIFA World Cup qualification   Bayamón Bayamón Puerto Rico     0 0 0 2026-06-07 06:59:01 2026-06-07 21:04:10.764373 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:47367
47144 2024 1886 2024-03-26   Turks and Caicos Islands 255 Anguilla 227 1 1 D FIFA World Cup qualification   Providenciales Providenciales Turks and Caicos Islands     0 0 0 2026-06-07 06:59:01 2026-06-07 21:04:10.655868 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:47144
46580 2023 1860 2023-10-16   Saint Martin 235 Anguilla 227 8 0 H CONCACAF Nations League   Basseterre Basseterre Saint Kitts and Nevis     1 0 0 2026-06-07 06:59:01 2026-06-07 21:04:10.327796 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:46580
46485 2023 1860 2023-10-12   Bonaire 288 Anguilla 227 2 0 H CONCACAF Nations League   Rincon Rincon Bonaire     0 0 0 2026-06-07 06:59:01 2026-06-07 21:04:10.281644 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:46485
45380 2022 1841 2022-06-12   Saint Lucia 85 Anguilla 227 2 0 H CONCACAF Nations League   Gros Islet Gros Islet Saint Lucia     0 0 0 2026-06-07 06:59:00 2026-06-07 21:04:09.700235 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:45380
45236 2022 1841 2022-06-05   Dominica 79 Anguilla 227 1 1 D CONCACAF Nations League   Basseterre Basseterre Saint Kitts and Nevis     1 0 0 2026-06-07 06:59:00 2026-06-07 21:04:09.630150 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:45236
44013 2021 1813 2021-06-05   Panama 87 Anguilla 227 13 0 H FIFA World Cup qualification   Panama City Panama City Panama     0 0 0 2026-06-07 06:58:59 2026-06-07 21:04:08.951654 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:44013
43956 2021 1813 2021-06-02   Dominica 79 Anguilla 227 3 0 H FIFA World Cup qualification   Santo Domingo Santo Domingo Dominican Republic     1 0 0 2026-06-07 06:58:59 2026-06-07 21:04:08.869908 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:43956
43877 2021 1813 2021-03-30   Barbados 75 Anguilla 227 1 0 H FIFA World Cup qualification   Santo Domingo Santo Domingo Dominican Republic     1 0 0 2026-06-07 06:58:59 2026-06-07 21:04:08.831535 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:43877
43328 2019 1802 2019-11-19   Puerto Rico 97 Anguilla 227 3 0 H CONCACAF Nations League   Bayamón Bayamón Puerto Rico     0 0 0 2026-06-07 06:58:58 2026-06-07 21:04:08.564239 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:43328
43168 2019 1782 2019-11-10   Trinidad & Tobago 20 Anguilla 227 15 0 H Friendly   Couva Couva Trinidad and Tobago     0 0 0 2026-06-07 06:58:58 2026-06-07 21:04:08.486304 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:43168
42846 2019 1802 2019-09-05   Guatemala 48 Anguilla 227 10 0 H CONCACAF Nations League   Guatemala City Guatemala City Guatemala     0 0 0 2026-06-07 06:58:58 2026-06-07 21:04:08.272087 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:42846
42133 2018 1777 2018-11-18   Bahamas 192 Anguilla 227 1 1 D CONCACAF Nations League qualification   Nassau Nassau Bahamas     0 0 0 2026-06-07 06:58:58 2026-06-07 21:04:07.912030 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:42133
41970 2018 1777 2018-10-14   Nicaragua 76 Anguilla 227 6 0 H CONCACAF Nations League qualification   Heredia Heredia Costa Rica     1 0 0 2026-06-07 06:58:58 2026-06-07 21:04:07.747743 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:41970
41714 2018 1765 2018-08-22   Sint Maarten 230 Anguilla 227 1 1 D Friendly   Philipsburg Philipsburg Sint Maarten     0 0 0 2026-06-07 06:58:57 2026-06-07 21:04:07.617515 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:41714
41705 2018 1765 2018-07-27   Saint Barthélemy 286 Anguilla 227 1 2 A Friendly   Saint-Jean Saint-Jean Saint Barthélemy     0 0 0 2026-06-07 06:58:57 2026-06-07 21:04:07.612918 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:41705
39477 2016 1719 2016-03-13   Sint Maarten 230 Anguilla 227 2 0 H Friendly   Philipsburg Philipsburg Sint Maarten     0 0 0 2026-06-07 06:58:56 2026-06-07 21:04:06.368227 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:39477
38526 2015 1700 2015-03-23   Nicaragua 76 Anguilla 227 5 0 H FIFA World Cup qualification   Managua Managua Nicaragua     0 0 0 2026-06-07 06:58:55 2026-06-07 21:04:05.851643 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:38526
38016 2014 1683 2014-09-05   Saint Vincent and the Grenadines 165 Anguilla 227 4 0 H CFU Caribbean Cup qualification   St. John's St. John's Antigua and Barbuda     1 0 0 2026-06-07 06:58:55 2026-06-07 21:04:05.603976 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:38016
36343 2012 1640 2012-10-14   Trinidad & Tobago 20 Anguilla 227 10 0 H CFU Caribbean Cup qualification   Basseterre Basseterre Saint Kitts and Nevis     1 0 0 2026-06-07 06:58:54 2026-06-07 21:04:04.657016 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:36343
36306 2012 1640 2012-10-12   French Guiana 84 Anguilla 227 4 1 H CFU Caribbean Cup qualification   Basseterre Basseterre Saint Kitts and Nevis     1 0 0 2026-06-07 06:58:54 2026-06-07 21:04:04.639153 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:36306
36036 2012 1623 2012-07-07   British Virgin Islands 228 Anguilla 227 1 0 H Friendly   Road Town Road Town British Virgin Islands     0 0 0 2026-06-07 06:58:54 2026-06-07 21:04:04.508198 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:36036
34926 2011 1613 2011-07-10   Dominican Republic 117 Anguilla 227 4 0 H FIFA World Cup qualification   San Cristóbal San Cristóbal Dominican Republic     0 0 0 2026-06-07 06:58:53 2026-06-07 21:04:03.860649 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:34926
34915 2011 1613 2011-07-08   Dominican Republic 117 Anguilla 227 2 0 H FIFA World Cup qualification   San Cristóbal San Cristóbal Dominican Republic     0 0 0 2026-06-07 06:58:53 2026-06-07 21:04:03.854723 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:34915
34148 2010 1590 2010-10-04   Cayman Islands 226 Anguilla 227 4 1 H CFU Caribbean Cup qualification   Bayamón Bayamón Puerto Rico     1 0 0 2026-06-07 06:58:52 2026-06-07 21:04:03.480870 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:34148
34145 2010 1590 2010-10-02   Puerto Rico 97 Anguilla 227 3 1 H CFU Caribbean Cup qualification   Bayamón Bayamón Puerto Rico     0 0 0 2026-06-07 06:58:52 2026-06-07 21:04:03.479424 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:34145
32388 2008 1545 2008-09-19   Martinique 78 Anguilla 227 3 1 H CFU Caribbean Cup qualification   Fort-de-France Fort-de-France Martinique     0 0 0 2026-06-07 06:58:51 2026-06-07 21:04:02.475217 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:32388
31656 2008 1532 2008-02-06   El Salvador 47 Anguilla 227 12 0 H FIFA World Cup qualification   San Salvador San Salvador El Salvador     0 0 0 2026-06-07 06:58:51 2026-06-07 21:04:02.031695 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:31656
30308 2006 1493 2006-09-24   Barbados 75 Anguilla 227 7 1 H CFU Caribbean Cup qualification   St. John's St. John's Antigua and Barbuda     1 0 0 2026-06-07 06:58:50 2026-06-07 21:04:01.316799 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:30308
30299 2006 1493 2006-09-20   Antigua & Barbuda 199 Anguilla 227 5 3 H CFU Caribbean Cup qualification   St. John's St. John's Antigua and Barbuda     0 0 0 2026-06-07 06:58:50 2026-06-07 21:04:01.312435 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:30299
28014 2004 1443 2004-03-21   Dominican Republic 117 Anguilla 227 6 0 H FIFA World Cup qualification   Santo Domingo Santo Domingo Dominican Republic     0 0 0 2026-06-07 06:58:48 2026-06-07 21:04:00.065352 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:28014
28011 2004 1443 2004-03-19   Dominican Republic 117 Anguilla 227 0 0 D FIFA World Cup qualification   Santo Domingo Santo Domingo Dominican Republic     0 0 0 2026-06-07 06:58:48 2026-06-07 21:04:00.063905 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:28011
26512 2002 1386 2002-07-06   British Virgin Islands 228 Anguilla 227 2 1 H Friendly   Road Town Road Town British Virgin Islands     0 0 0 2026-06-07 06:58:48 2026-06-07 21:03:59.228957 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:26512
26501 2002 1386 2002-06-23   Saint Martin 235 Anguilla 227 1 0 H Friendly   Marigot Marigot Saint Martin     0 0 0 2026-06-07 06:58:47 2026-06-07 21:03:59.223606 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:26501
26456 2002 1386 2002-06-06   Saint Martin 235 Anguilla 227 2 1 H Friendly   Marigot Marigot Saint Martin     0 0 0 2026-06-07 06:58:47 2026-06-07 21:03:59.201713 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:26456
25198 2001 1366 2001-02-10   Saint Martin 235 Anguilla 227 3 1 H CFU Caribbean Cup qualification   Marigot Marigot Saint Martin     0 0 0 2026-06-07 06:58:47 2026-06-07 21:03:58.503948 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:25198
24279 2000 1340 2000-03-19   Bahamas 192 Anguilla 227 2 1 H FIFA World Cup qualification   Nassau Nassau Bahamas     0 0 0 2026-06-07 06:58:46 2026-06-07 21:03:57.992812 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:24279
24239 2000 1331 2000-02-27   British Virgin Islands 228 Anguilla 227 5 0 H Friendly   Road Town Road Town British Virgin Islands     0 0 0 2026-06-07 06:58:46 2026-06-07 21:03:57.973291 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:24239
24236 2000 1331 2000-02-25   British Virgin Islands 228 Anguilla 227 3 4 A Friendly   Road Town Road Town British Virgin Islands     0 0 0 2026-06-07 06:58:46 2026-06-07 21:03:57.971819 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:24236
22715 1998 1281 1998-04-19   Guyana 19 Anguilla 227 14 0 H CFU Caribbean Cup qualification   St. John's St. John's Antigua and Barbuda     1 0 0 2026-06-07 06:58:45 2026-06-07 21:03:57.089517 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:22715
22709 1998 1281 1998-04-15   Grenada 91 Anguilla 227 14 1 H CFU Caribbean Cup qualification   St. John's St. John's Antigua and Barbuda     1 0 0 2026-06-07 06:58:45 2026-06-07 21:03:57.086496 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:22709
21849 1997 1252 1997-04-06   Dominica 79 Anguilla 227 5 0 H CFU Caribbean Cup qualification   Roseau Roseau Dominica     0 0 0 2026-06-07 06:58:44 2026-06-07 21:03:56.597511 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:21849
21839 1997 1252 1997-04-04   British Virgin Islands 228 Anguilla 227 4 2 H CFU Caribbean Cup qualification   Roseau Roseau Dominica     1 0 0 2026-06-07 06:58:44 2026-06-07 21:03:56.592442 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:21839
21832 1997 1252 1997-04-02   Sint Maarten 230 Anguilla 227 3 0 H CFU Caribbean Cup qualification   Roseau Roseau Dominica     1 0 0 2026-06-07 06:58:44 2026-06-07 21:03:56.588841 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:21832
20937 1996 1230 1996-03-29   Sint Maarten 230 Anguilla 227 4 0 H CFU Caribbean Cup qualification   Basseterre Basseterre Saint Kitts and Nevis     1 0 0 2026-06-07 06:58:44 2026-06-07 21:03:56.065585 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:20937
20934 1996 1230 1996-03-27   Saint Kitts and Nevis 90 Anguilla 227 8 0 H CFU Caribbean Cup qualification   Basseterre Basseterre Saint Kitts and Nevis     0 0 0 2026-06-07 06:58:44 2026-06-07 21:03:56.064126 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:20934
20208 1995 1200 1995-03-26   Montserrat 237 Anguilla 227 3 2 H CFU Caribbean Cup qualification   Plymouth Plymouth Montserrat     0 0 0 2026-06-07 06:58:43 2026-06-07 21:03:55.710757 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:20208
19585 1994 1171 1994-03-06   Saint Vincent and the Grenadines 165 Anguilla 227 2 0 H CFU Caribbean Cup qualification   Kingstown Kingstown Saint Vincent and the Grenadines     0 0 0 2026-06-07 06:58:43 2026-06-07 21:03:55.352917 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:19585
19580 1994 1171 1994-03-04   Guadeloupe 81 Anguilla 227 9 0 H CFU Caribbean Cup qualification   Kingstown Kingstown Saint Vincent and the Grenadines     1 0 0 2026-06-07 06:58:43 2026-06-07 21:03:55.350484 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:19580
18230 1992 1124 1992-05-09   Cuba 77 Anguilla 227 5 0 H CFU Caribbean Cup qualification   Havana Havana Cuba     0 0 0 2026-06-07 06:58:42 2026-06-07 21:03:54.638011 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:18230
17748 1991 1105 1991-05-16   Saint Lucia 85 Anguilla 227 6 0 H CFU Caribbean Cup qualification   Castries Castries Saint Lucia     0 0 0 2026-06-07 06:58:42 2026-06-07 21:03:54.320570 1 1 6 6 International Results CSV 1 csv:///home/nabaz/Projects/world-cup-2026-predictor/data/raw/international_results.csv:17748

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE match (
            match_id INTEGER NOT NULL,
            season_id INTEGER NOT NULL,
            date DATE NOT NULL,
            kickoff DATETIME,
            home_team_id INTEGER NOT NULL,
            away_team_id INTEGER NOT NULL,
            home_score INTEGER,
            away_score INTEGER,
            result VARCHAR(1),
            round_stage VARCHAR(64),
            matchday INTEGER,
            venue VARCHAR(256),
            city VARCHAR(128),
            country VARCHAR(128),
            referee VARCHAR(128),
            attendance INTEGER,
            is_neutral BOOLEAN NOT NULL,
            is_postponed BOOLEAN NOT NULL,
            is_cancelled BOOLEAN NOT NULL,
            created_at DATETIME NOT NULL,
            updated_at DATETIME NOT NULL,
            created_by_run_id INTEGER,
            updated_by_run_id INTEGER,
            source_id INTEGER,
            source_raw_key VARCHAR(512),
            CONSTRAINT pk_match PRIMARY KEY (match_id),
            CONSTRAINT fk_match_season FOREIGN KEY(season_id) REFERENCES season (season_id),
            CONSTRAINT fk_match_home_team FOREIGN KEY(home_team_id) REFERENCES team (team_id),
            CONSTRAINT fk_match_away_team FOREIGN KEY(away_team_id) REFERENCES team (team_id),
            CONSTRAINT fk_match_source FOREIGN KEY(source_id) REFERENCES data_source (source_id),
            CONSTRAINT fk_match_created_by_run FOREIGN KEY(created_by_run_id) REFERENCES ingestion_run (run_id),
            CONSTRAINT fk_match_updated_by_run FOREIGN KEY(updated_by_run_id) REFERENCES ingestion_run (run_id)
        );
CREATE INDEX ix_match_away_team_id ON match (away_team_id);
CREATE INDEX ix_match_created_by_run_id ON match (created_by_run_id);
CREATE INDEX ix_match_source_id ON match (source_id);
CREATE INDEX ix_match_updated_by_run_id ON match (updated_by_run_id);
CREATE INDEX ix_match_date ON match (date);
CREATE INDEX ix_match_season_id ON match (season_id);
CREATE INDEX ix_match_source_raw_key ON match (source_raw_key);
CREATE INDEX ix_match_home_team_id ON match (home_team_id);
CREATE UNIQUE INDEX ux_match_season_date_teams ON match(season_id, date, home_team_id, away_team_id);
Powered by Datasette · Queries took 23.548ms