home / football

match

238 rows where away_team_id = 354 sorted by date descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: season_id, home_score, away_score, result, created_by_run_id, source_id, 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
49716 2024-2025 1938 2025-05-17   St Pauli 811 VfL Bochum 354 0 1 A   34           0 0 0 2026-06-07 23:31:29 2026-06-07 23:31:29 8 8   OpenLigaDB 7  
49690 2024-2025 1938 2025-05-02   1. FC Heidenheim 1846 367 VfL Bochum 354 0 0 D   32           0 0 0 2026-06-07 23:31:28 2026-06-07 23:31:28 8 8   OpenLigaDB 7  
49674 2024-2025 1938 2025-04-19   SV Werder Bremen 360 VfL Bochum 354 0 0 D   30           0 0 0 2026-06-07 23:31:28 2026-06-07 23:31:28 8 8   OpenLigaDB 7  
49645 2024-2025 1938 2025-03-28   Bayer 04 Leverkusen 352 VfL Bochum 354 1 1 D   27           0 0 0 2026-06-07 23:31:28 2026-06-07 23:31:28 8 8   OpenLigaDB 7  
49629 2024-2025 1938 2025-03-08   FC Bayern München 365 VfL Bochum 354 2 1 H   25           0 0 0 2026-06-07 23:31:28 2026-06-07 23:31:28 8 8   OpenLigaDB 7  
49610 2024-2025 1938 2025-02-22   VfL Wolfsburg 364 VfL Bochum 354 0 0 D   23           0 0 0 2026-06-07 23:31:27 2026-06-07 23:31:27 8 8   OpenLigaDB 7  
49598 2024-2025 1938 2025-02-09   Holstein Kiel 356 VfL Bochum 354 1 2 A   21           0 0 0 2026-06-07 23:31:27 2026-06-07 23:31:27 8 8   OpenLigaDB 7  
49579 2024-2025 1938 2025-01-25   Borussia Mönchengladbach 351 VfL Bochum 354 1 0 H   19           0 0 0 2026-06-07 23:31:27 2026-06-07 23:31:27 8 8   OpenLigaDB 7  
49550 2024-2025 1938 2025-01-11   1. FSV Mainz 05 361 VfL Bochum 354 1 0 H   16           0 0 0 2026-06-07 23:31:27 2026-06-07 23:31:27 8 8   OpenLigaDB 7  
49532 2024-2025 1938 2024-12-14   1. FC Union Berlin 362 VfL Bochum 354 0 2 A   14           0 0 0 2026-06-07 23:31:26 2026-06-07 23:31:26 8 8   OpenLigaDB 7  
49514 2024-2025 1938 2024-11-30   FC Augsburg 359 VfL Bochum 354 1 0 H   12           0 0 0 2026-06-07 23:31:26 2026-06-07 23:31:26 8 8   OpenLigaDB 7  
49503 2024-2025 1938 2024-11-23   VfB Stuttgart 358 VfL Bochum 354 0 0 D   11           0 0 0 2026-06-07 23:31:26 2026-06-07 23:31:26 8 8   OpenLigaDB 7  
49485 2024-2025 1938 2024-11-02   Eintracht Frankfurt 363 VfL Bochum 354 4 1 H   9           0 0 0 2026-06-07 23:31:26 2026-06-07 23:31:26 8 8   OpenLigaDB 7  
49467 2024-2025 1938 2024-10-19   TSG Hoffenheim 355 VfL Bochum 354 1 0 H   7           0 0 0 2026-06-07 23:31:26 2026-06-07 23:31:26 8 8   OpenLigaDB 7  
49447 2024-2025 1938 2024-09-27   Borussia Mönchengladbach 351 VfL Bochum 354 1 2 A   5           0 0 0 2026-06-07 23:31:25 2026-06-07 23:31:25 8 8   OpenLigaDB 7  
49432 2024-2025 1938 2024-09-14   SC Freiburg 357 VfL Bochum 354 0 1 A   3           0 0 0 2026-06-07 23:31:25 2026-06-07 23:31:25 8 8   OpenLigaDB 7  
49412 2024-2025 1938 2024-08-24   RB Leipzig 353 VfL Bochum 354 0 0 D   1           0 0 0 2026-06-07 23:17:11 2026-06-07 23:17:11 7 7   OpenLigaDB 7  
73704 2023-2024 1997 2024-05-18   SV Werder Bremen 360 VfL Bochum 354 4 1   Bundesliga 34           0 0 0 2026-06-11T02:07:54 2026-06-11T02:07:54     International Results CSV 1  
73684 2023-2024 1997 2024-05-05   1. FC Union Berlin 362 VfL Bochum 354 3 4   Bundesliga 32           0 0 0 2026-06-11T02:07:54 2026-06-11T02:07:54     International Results CSV 1  
73664 2023-2024 1997 2024-04-20   VfL Wolfsburg 364 VfL Bochum 354 1 0   Bundesliga 30           0 0 0 2026-06-11T02:07:54 2026-06-11T02:07:54     International Results CSV 1  
73644 2023-2024 1997 2024-04-06   1. FC Köln 970 VfL Bochum 354 2 1   Bundesliga 28           0 0 0 2026-06-11T02:07:54 2026-06-11T02:07:54     International Results CSV 1  
73627 2023-2024 1997 2024-03-16   1. FSV Mainz 05 361 VfL Bochum 354 2 0   Bundesliga 26           0 0 0 2026-06-11T02:07:54 2026-06-11T02:07:54     International Results CSV 1  
73601 2023-2024 1997 2024-02-24   Borussia Mönchengladbach 351 VfL Bochum 354 5 2   Bundesliga 23           0 0 0 2026-06-11T02:07:54 2026-06-11T02:07:54     International Results CSV 1  
73582 2023-2024 1997 2024-02-10   Eintracht Frankfurt 363 VfL Bochum 354 1 1   Bundesliga 21           0 0 0 2026-06-11T02:07:54 2026-06-11T02:07:54     International Results CSV 1  
73569 2023-2024 1997 2024-01-28   Borussia Dortmund 730 VfL Bochum 354 3 1   Bundesliga 19           0 0 0 2026-06-11T02:07:54 2026-06-11T02:07:54     International Results CSV 1  
73539 2023-2024 1997 2023-12-20   Bayer 04 Leverkusen 352 VfL Bochum 354 4 0   Bundesliga 16           0 0 0 2026-06-11T02:07:54 2026-06-11T02:07:54     International Results CSV 1  
73516 2023-2024 1997 2023-12-08   TSG 1899 Hoffenheim 809 VfL Bochum 354 3 1   Bundesliga 14           0 0 0 2026-06-11T02:07:54 2026-06-11T02:07:54     International Results CSV 1  
73505 2023-2024 1997 2023-11-26   1. FC Heidenheim 976 VfL Bochum 354 0 0   Bundesliga 12           0 0 0 2026-06-11T02:07:54 2026-06-11T02:07:54     International Results CSV 1  
73480 2023-2024 1997 2023-11-03   SV Darmstadt 98 817 VfL Bochum 354 1 2   Bundesliga 10           0 0 0 2026-06-11T02:07:54 2026-06-11T02:07:54     International Results CSV 1  
73464 2023-2024 1997 2023-10-21   SC Freiburg 357 VfL Bochum 354 2 1   Bundesliga 8           0 0 0 2026-06-11T02:07:54 2026-06-11T02:07:54     International Results CSV 1  
73456 2023-2024 1997 2023-10-07   RB Leipzig 353 VfL Bochum 354 0 0   Bundesliga 7           0 0 0 2026-06-11T02:07:54 2026-06-11T02:07:54     International Results CSV 1  
73440 2023-2024 1997 2023-09-23   FC Bayern München 365 VfL Bochum 354 7 0   Bundesliga 5           0 0 0 2026-06-11T02:07:54 2026-06-11T02:07:54     International Results CSV 1  
73419 2023-2024 1997 2023-09-02   FC Augsburg 359 VfL Bochum 354 2 2   Bundesliga 3           0 0 0 2026-06-11T02:07:54 2026-06-11T02:07:54     International Results CSV 1  
73403 2023-2024 1997 2023-08-19   VfB Stuttgart 358 VfL Bochum 354 5 0   Bundesliga 1           0 0 0 2026-06-11T02:07:54 2026-06-11T02:07:54     International Results CSV 1  
73383 2022-2023 1996 2023-05-20   Hertha BSC 969 VfL Bochum 354 1 1   Bundesliga 33           0 0 0 2026-06-11T02:07:53 2026-06-11T02:07:53     International Results CSV 1  
73365 2022-2023 1996 2023-05-06   Borussia Mönchengladbach 351 VfL Bochum 354 2 0   Bundesliga 31           0 0 0 2026-06-11T02:07:53 2026-06-11T02:07:53     International Results CSV 1  
73343 2022-2023 1996 2023-04-16   1. FC Union Berlin 362 VfL Bochum 354 1 1   Bundesliga 28           0 0 0 2026-06-11T02:07:53 2026-06-11T02:07:53     International Results CSV 1  
73318 2022-2023 1996 2023-03-31   Eintracht Frankfurt 363 VfL Bochum 354 1 1   Bundesliga 26           0 0 0 2026-06-11T02:07:53 2026-06-11T02:07:53     International Results CSV 1  
73300 2022-2023 1996 2023-03-10   1. FC Köln 970 VfL Bochum 354 0 2   Bundesliga 24           0 0 0 2026-06-11T02:07:53 2026-06-11T02:07:53     International Results CSV 1  
73287 2022-2023 1996 2023-02-25   SV Werder Bremen 360 VfL Bochum 354 3 0   Bundesliga 22           0 0 0 2026-06-11T02:07:53 2026-06-11T02:07:53     International Results CSV 1  
73266 2022-2023 1996 2023-02-11   FC Bayern München 365 VfL Bochum 354 3 0   Bundesliga 20           0 0 0 2026-06-11T02:07:53 2026-06-11T02:07:53     International Results CSV 1  
73247 2022-2023 1996 2023-01-28   1. FSV Mainz 05 361 VfL Bochum 354 5 2   Bundesliga 18           0 0 0 2026-06-11T02:07:53 2026-06-11T02:07:53     International Results CSV 1  
73242 2022-2023 1996 2023-01-25   Bayer 04 Leverkusen 352 VfL Bochum 354 2 0   Bundesliga 17           0 0 0 2026-06-11T02:07:53 2026-06-11T02:07:53     International Results CSV 1  
73221 2022-2023 1996 2022-11-12   FC Augsburg 359 VfL Bochum 354 0 1   Bundesliga 15           0 0 0 2026-06-11T02:07:53 2026-06-11T02:07:53     International Results CSV 1  
73203 2022-2023 1996 2022-11-05   Borussia Dortmund 730 VfL Bochum 354 3 0   Bundesliga 13           0 0 0 2026-06-11T02:07:53 2026-06-11T02:07:53     International Results CSV 1  
73196 2022-2023 1996 2022-10-29   VfL Wolfsburg 364 VfL Bochum 354 4 0   Bundesliga 12           0 0 0 2026-06-11T02:07:53 2026-06-11T02:07:53     International Results CSV 1  
73176 2022-2023 1996 2022-10-15   VfB Stuttgart 358 VfL Bochum 354 4 1   Bundesliga 10           0 0 0 2026-06-11T02:07:53 2026-06-11T02:07:53     International Results CSV 1  
73159 2022-2023 1996 2022-10-01   RB Leipzig 353 VfL Bochum 354 4 0   Bundesliga 8           0 0 0 2026-06-11T02:07:53 2026-06-11T02:07:53     International Results CSV 1  
73144 2022-2023 1996 2022-09-10   FC Schalke 04 816 VfL Bochum 354 3 1   Bundesliga 6           0 0 0 2026-06-11T02:07:53 2026-06-11T02:07:53     International Results CSV 1  
73120 2022-2023 1996 2022-08-26   SC Freiburg 357 VfL Bochum 354 1 0   Bundesliga 4           0 0 0 2026-06-11T02:07:53 2026-06-11T02:07:53     International Results CSV 1  
73106 2022-2023 1996 2022-08-13   TSG 1899 Hoffenheim 809 VfL Bochum 354 3 2   Bundesliga 2           0 0 0 2026-06-11T02:07:53 2026-06-11T02:07:53     International Results CSV 1  
73084 2021-2022 1995 2022-05-14   1. FC Union Berlin 362 VfL Bochum 354 3 2   Bundesliga 34           0 0 0 2026-06-11T02:07:52 2026-06-11T02:07:52     International Results CSV 1  
73069 2021-2022 1995 2022-04-30   Borussia Dortmund 730 VfL Bochum 354 3 4   Bundesliga 32           0 0 0 2026-06-11T02:07:52 2026-06-11T02:07:52     International Results CSV 1  
73051 2021-2022 1995 2022-04-16   SC Freiburg 357 VfL Bochum 354 3 0   Bundesliga 30           0 0 0 2026-06-11T02:07:52 2026-06-11T02:07:52     International Results CSV 1  
73035 2021-2022 1995 2022-04-02   TSG 1899 Hoffenheim 809 VfL Bochum 354 1 2   Bundesliga 28           0 0 0 2026-06-11T02:07:52 2026-06-11T02:07:52     International Results CSV 1  
73019 2021-2022 1995 2022-03-13   Eintracht Frankfurt 363 VfL Bochum 354 2 1   Bundesliga 26           0 0 0 2026-06-11T02:07:52 2026-06-11T02:07:52     International Results CSV 1  
72989 2021-2022 1995 2022-02-19   VfB Stuttgart 358 VfL Bochum 354 1 1   Bundesliga 23           0 0 0 2026-06-11T02:07:52 2026-06-11T02:07:52     International Results CSV 1  
72968 2021-2022 1995 2022-02-04   Hertha BSC 969 VfL Bochum 354 1 1   Bundesliga 21           0 0 0 2026-06-11T02:07:52 2026-06-11T02:07:52     International Results CSV 1  
72951 2021-2022 1995 2022-01-15   1. FSV Mainz 05 361 VfL Bochum 354 1 0   Bundesliga 19           0 0 0 2026-06-11T02:07:52 2026-06-11T02:07:52     International Results CSV 1  
72926 2021-2022 1995 2021-12-14   Bielefeld 974 VfL Bochum 354 2 0   Bundesliga 16           0 0 0 2026-06-11T02:07:52 2026-06-11T02:07:52     International Results CSV 1  
72908 2021-2022 1995 2021-12-04   FC Augsburg 359 VfL Bochum 354 2 3   Bundesliga 14           0 0 0 2026-06-11T02:07:52 2026-06-11T02:07:52     International Results CSV 1  
72890 2021-2022 1995 2021-11-20   Bayer 04 Leverkusen 352 VfL Bochum 354 1 0   Bundesliga 12           0 0 0 2026-06-11T02:07:52 2026-06-11T02:07:52     International Results CSV 1  
72877 2021-2022 1995 2021-10-31   Borussia Mönchengladbach 351 VfL Bochum 354 2 1   Bundesliga 10           0 0 0 2026-06-11T02:07:52 2026-06-11T02:07:52     International Results CSV 1  
72856 2021-2022 1995 2021-10-16   Greuther Fürth 975 VfL Bochum 354 0 1   Bundesliga 8           0 0 0 2026-06-11T02:07:52 2026-06-11T02:07:52     International Results CSV 1  
72847 2021-2022 1995 2021-10-02   RB Leipzig 353 VfL Bochum 354 3 0   Bundesliga 7           0 0 0 2026-06-11T02:07:52 2026-06-11T02:07:52     International Results CSV 1  
72827 2021-2022 1995 2021-09-18   FC Bayern München 365 VfL Bochum 354 7 0   Bundesliga 5           0 0 0 2026-06-11T02:07:52 2026-06-11T02:07:52     International Results CSV 1  
72807 2021-2022 1995 2021-08-28   1. FC Köln 970 VfL Bochum 354 2 1   Bundesliga 3           0 0 0 2026-06-11T02:07:52 2026-06-11T02:07:52     International Results CSV 1  
72789 2021-2022 1995 2021-08-14   VfL Wolfsburg 364 VfL Bochum 354 1 0   Bundesliga 1           0 0 0 2026-06-11T02:07:52 2026-06-11T02:07:52     International Results CSV 1  
87546 2009-2010 2077 2010-05-01   Bayern Munich 340 VfL Bochum 354 3 1   Bundesliga   home         0 0 0 2026-06-11T09:06:29.412516 2026-06-11T09:06:29.412516        
87537 2009-2010 2077 2010-04-16   1.FC Köln 815 VfL Bochum 354 2 0   Bundesliga   home         0 0 0 2026-06-11T09:06:29.412516 2026-06-11T09:06:29.412516        
87528 2009-2010 2077 2010-04-03   SC Freiburg 357 VfL Bochum 354 1 1   Bundesliga   home         0 0 0 2026-06-11T09:06:29.412516 2026-06-11T09:06:29.412516        
87520 2009-2010 2077 2010-03-20   Werder Bremen 813 VfL Bochum 354 3 2   Bundesliga   home         0 0 0 2026-06-11T09:06:29.412516 2026-06-11T09:06:29.412516        
87513 2009-2010 2077 2010-03-06   VfL Wolfsburg 364 VfL Bochum 354 4 1   Bundesliga   home         0 0 0 2026-06-11T09:06:29.412516 2026-06-11T09:06:29.412516        
104171 2009-2010 2077 2010-02-20   Mainz 1330 VfL Bochum 354 0 0   Bundesliga   home         0 0 0 2026-06-11T09:45:54.727905 2026-06-11T09:45:54.727905        
87488 2009-2010 2077 2010-01-30   Hertha BSC 969 VfL Bochum 354 0 0   Bundesliga   home         0 0 0 2026-06-11T09:06:29.412516 2026-06-11T09:06:29.412516        
90242 2009-2010 2077 2010-01-16   Borussia Mönchengladbach 351 VfL Bochum 354 1 2   Bundesliga   home         0 0 0 2026-06-11T09:36:55.866411 2026-06-11T09:36:55.866411        
87474 2009-2010 2077 2009-12-19   Hannover 96 967 VfL Bochum 354 2 3   Bundesliga   home         0 0 0 2026-06-11T09:06:29.412516 2026-06-11T09:06:29.412516        
87464 2009-2010 2077 2009-12-05   VfB Stuttgart 358 VfL Bochum 354 1 1   Bundesliga   home         0 0 0 2026-06-11T09:06:29.412516 2026-06-11T09:06:29.412516        
87458 2009-2010 2077 2009-11-22   Hamburger SV 968 VfL Bochum 354 0 1   Bundesliga   home         0 0 0 2026-06-11T09:06:29.412516 2026-06-11T09:06:29.412516        
87447 2009-2010 2077 2009-11-01   Eintracht Frankfurt 363 VfL Bochum 354 2 1   Bundesliga   home         0 0 0 2026-06-11T09:06:29.412516 2026-06-11T09:06:29.412516        
104122 2009-2010 2077 2009-10-18   Dortmund 1318 VfL Bochum 354 2 0   Bundesliga   home         0 0 0 2026-06-11T09:45:54.727905 2026-06-11T09:45:54.727905        
104112 2009-2010 2077 2009-09-25   Nurnberg 1326 VfL Bochum 354 0 1   Bundesliga   home         0 0 0 2026-06-11T09:45:54.727905 2026-06-11T09:45:54.727905        
87419 2009-2010 2077 2009-09-12   TSG Hoffenheim 355 VfL Bochum 354 3 0   Bundesliga   home         0 0 0 2026-06-11T09:06:29.412516 2026-06-11T09:06:29.412516        
104102 2009-2010 2077 2009-08-29   Leverkusen 1323 VfL Bochum 354 2 1   Bundesliga   home         0 0 0 2026-06-11T09:45:54.727905 2026-06-11T09:45:54.727905        
87407 2009-2010 2077 2009-08-16   FC Schalke 04 816 VfL Bochum 354 3 0   Bundesliga   home         0 0 0 2026-06-11T09:06:29.412516 2026-06-11T09:06:29.412516        
87396 2008-2009 2076 2009-05-23   1.FC Köln 815 VfL Bochum 354 1 1   Bundesliga   home         0 0 0 2026-06-11T09:06:21.626780 2026-06-11T09:06:21.626780        
87386 2008-2009 2076 2009-05-13   Hamburger SV 968 VfL Bochum 354 3 1   Bundesliga   home         0 0 0 2026-06-11T09:06:21.626780 2026-06-11T09:06:21.626780        
87379 2008-2009 2076 2009-05-09   Hertha BSC 969 VfL Bochum 354 2 0   Bundesliga   home         0 0 0 2026-06-11T09:06:21.626780 2026-06-11T09:06:21.626780        
87372 2008-2009 2076 2009-04-25   Werder Bremen 813 VfL Bochum 354 3 2   Bundesliga   home         0 0 0 2026-06-11T09:06:21.626780 2026-06-11T09:06:21.626780        
87362 2008-2009 2076 2009-04-11   TSG Hoffenheim 355 VfL Bochum 354 0 3   Bundesliga   home         0 0 0 2026-06-11T09:06:21.626780 2026-06-11T09:06:21.626780        
90223 2008-2009 2076 2009-03-20   Borussia Mönchengladbach 351 VfL Bochum 354 0 1   Bundesliga   home         0 0 0 2026-06-11T09:36:49.026540 2026-06-11T09:36:49.026540        
104048 2008-2009 2076 2009-03-08   Leverkusen 1323 VfL Bochum 354 1 1   Bundesliga   home         0 0 0 2026-06-11T09:45:49.199958 2026-06-11T09:45:49.199958        
87336 2008-2009 2076 2009-02-21   Bielefeld 974 VfL Bochum 354 1 1   Bundesliga   home         0 0 0 2026-06-11T09:06:21.626780 2026-06-11T09:06:21.626780        
87329 2008-2009 2076 2009-02-07   VfL Wolfsburg 364 VfL Bochum 354 2 0   Bundesliga   home         0 0 0 2026-06-11T09:06:21.626780 2026-06-11T09:06:21.626780        
87311 2008-2009 2076 2008-12-06   Eintracht Frankfurt 363 VfL Bochum 354 4 0   Bundesliga   home         0 0 0 2026-06-11T09:06:21.626780 2026-06-11T09:06:21.626780        
87295 2008-2009 2076 2008-11-14   Hannover 96 967 VfL Bochum 354 1 1   Bundesliga   home         0 0 0 2026-06-11T09:06:21.626780 2026-06-11T09:06:21.626780        
104006 2008-2009 2076 2008-11-02   Dortmund 1318 VfL Bochum 354 1 1   Bundesliga   home         0 0 0 2026-06-11T09:45:49.199958 2026-06-11T09:45:49.199958        
87281 2008-2009 2076 2008-10-26   VfB Stuttgart 358 VfL Bochum 354 2 0   Bundesliga   home         0 0 0 2026-06-11T09:06:21.626780 2026-06-11T09:06:21.626780        
87269 2008-2009 2076 2008-10-04   Bayern Munich 340 VfL Bochum 354 3 3   Bundesliga   home         0 0 0 2026-06-11T09:06:21.626780 2026-06-11T09:06:21.626780        
103979 2008-2009 2076 2008-09-20   Cottbus 1329 VfL Bochum 354 1 1   Bundesliga   home         0 0 0 2026-06-11T09:45:49.199958 2026-06-11T09:45:49.199958        

Next page

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 45.827ms