home / football

h2h_record

98 rows where team_b_id = 139

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: team_a_id, total_matches, wins_a, wins_b, draws, goals_a, goals_b, last_result, date (date), last_match_date (date), created_at (date), updated_at (date)

h2h_id ▼ team_a_id team_b_id date total_matches wins_a wins_b draws goals_a goals_b last_match_date last_result last_match_id competition_id created_at updated_at created_by_run_id updated_by_run_id source_id source_raw_key
3812 Uganda 69 Burundi 139 1953-09-19 0 0 0 0 0 0         2026-06-07 07:03:18.466081 2026-06-07 07:03:18.466081 1   International Results CSV 1 h2h://69:139/1953-09-19
6137 Uganda 69 Burundi 139 1964-10-09 1 1 0 0 9 1 1953-09-19 W     2026-06-07 07:03:19.094131 2026-06-07 07:03:19.094132 1   International Results CSV 1 h2h://69:139/1964-10-09
8670 Tanzania 101 Burundi 139 1971-12-05 0 0 0 0 0 0         2026-06-07 07:03:19.581158 2026-06-07 07:03:19.581159 1   International Results CSV 1 h2h://101:139/1971-12-05
10045 Egypt 42 Burundi 139 1975-03-24 0 0 0 0 0 0         2026-06-07 07:03:20.161402 2026-06-07 07:03:20.161402 1   International Results CSV 1 h2h://139:42/1975-03-24
10086 Egypt 42 Burundi 139 1975-04-19 1 1 0 0 3 0 1975-03-24 W     2026-06-07 07:03:20.169191 2026-06-07 07:03:20.169192 1   International Results CSV 1 h2h://42:139/1975-04-19
10586 DR Congo 113 Burundi 139 1976-07-07 0 0 0 0 0 0         2026-06-07 07:03:20.265194 2026-06-07 07:03:20.265195 1   International Results CSV 1 h2h://139:113/1976-07-07
10683 Uganda 69 Burundi 139 1976-10-09 2 2 0 0 16 6 1964-10-09 W     2026-06-07 07:03:20.283787 2026-06-07 07:03:20.283787 1   International Results CSV 1 h2h://69:139/1976-10-09
10689 Uganda 69 Burundi 139 1976-10-11 3 3 0 0 18 6 1976-10-09 W     2026-06-07 07:03:20.284916 2026-06-07 07:03:20.284917 1   International Results CSV 1 h2h://69:139/1976-10-11
12880 Uganda 69 Burundi 139 1981-08-06 4 4 0 0 19 6 1976-10-11 W     2026-06-07 07:03:20.716359 2026-06-07 07:03:20.716359 1   International Results CSV 1 h2h://69:139/1981-08-06
13002 Tanzania 101 Burundi 139 1981-10-31 1 1 0 0 4 1 1971-12-05 L     2026-06-07 07:03:20.740677 2026-06-07 07:03:20.740677 1   International Results CSV 1 h2h://139:101/1981-10-31
13006 Tanzania 101 Burundi 139 1981-11-02 2 2 0 0 6 2 1981-10-31 L     2026-06-07 07:03:20.741462 2026-06-07 07:03:20.741463 1   International Results CSV 1 h2h://139:101/1981-11-02
18556 Ghana 124 Burundi 139 1992-10-25 0 0 0 0 0 0         2026-06-07 07:03:22.136853 2026-06-07 07:03:22.136853 1   International Results CSV 1 h2h://139:124/1992-10-25
18742 Ghana 124 Burundi 139 1993-01-31 1 0 1 0 0 1 1992-10-25 L     2026-06-07 07:03:22.173862 2026-06-07 07:03:22.173862 1   International Results CSV 1 h2h://124:139/1993-01-31
21063 Sierra Leone 119 Burundi 139 1996-06-02 0 0 0 0 0 0         2026-06-07 07:03:22.948960 2026-06-07 07:03:22.948961 1   International Results CSV 1 h2h://139:119/1996-06-02
21138 Sierra Leone 119 Burundi 139 1996-06-16 1 0 1 0 0 1 1996-06-02 L     2026-06-07 07:03:22.963242 2026-06-07 07:03:22.963242 1   International Results CSV 1 h2h://119:139/1996-06-16
22929 Tanzania 101 Burundi 139 1998-08-02 3 3 0 0 7 2 1981-11-02 L     2026-06-07 07:03:23.307434 2026-06-07 07:03:23.307434 1   International Results CSV 1 h2h://139:101/1998-08-02
22952 Tanzania 101 Burundi 139 1998-08-15 4 3 1 0 7 3 1998-08-02 L     2026-06-07 07:03:23.311833 2026-06-07 07:03:23.311833 1   International Results CSV 1 h2h://101:139/1998-08-15
23729 Uganda 69 Burundi 139 1999-07-25 5 4 0 1 21 8 1981-08-06 D     2026-06-07 07:03:23.459704 2026-06-07 07:03:23.459705 1   International Results CSV 1 h2h://139:69/1999-07-25
23750 Tanzania 101 Burundi 139 1999-07-31 5 3 2 0 7 4 1998-08-15 W     2026-06-07 07:03:23.463706 2026-06-07 07:03:23.463706 1   International Results CSV 1 h2h://139:101/1999-07-31
24676 Djibouti 111 Burundi 139 2000-06-30 0 0 0 0 0 0         2026-06-07 07:03:23.646162 2026-06-07 07:03:23.646162 1   International Results CSV 1 h2h://111:139/2000-06-30
24716 Djibouti 111 Burundi 139 2000-07-15 1 0 1 0 1 3 2000-06-30 W     2026-06-07 07:03:23.654165 2026-06-07 07:03:23.654165 1   International Results CSV 1 h2h://139:111/2000-07-15
24885 Kenya 68 Burundi 139 2000-09-30 0 0 0 0 0 0         2026-06-07 07:03:23.687856 2026-06-07 07:03:23.687856 1   International Results CSV 1 h2h://68:139/2000-09-30
24890 Kenya 68 Burundi 139 2000-10-03 1 1 0 0 1 0 2000-09-30 W     2026-06-07 07:03:23.688854 2026-06-07 07:03:23.688854 1   International Results CSV 1 h2h://68:139/2000-10-03
25061 Uganda 69 Burundi 139 2000-11-20 6 4 0 2 21 8 1999-07-25 D     2026-06-07 07:03:24.050709 2026-06-07 07:03:24.050709 1   International Results CSV 1 h2h://69:139/2000-11-20
25066 Djibouti 111 Burundi 139 2000-11-23 2 0 2 0 1 4 2000-07-15 L     2026-06-07 07:03:24.051671 2026-06-07 07:03:24.051671 1   International Results CSV 1 h2h://111:139/2000-11-23
25072 Ethiopia 112 Burundi 139 2000-11-27 0 0 0 0 0 0         2026-06-07 07:03:24.052803 2026-06-07 07:03:24.052803 1   International Results CSV 1 h2h://112:139/2000-11-27
26079 Tanzania 101 Burundi 139 2001-12-09 6 3 3 0 7 5 1999-07-31 W     2026-06-07 07:03:24.244920 2026-06-07 07:03:24.244920 1   International Results CSV 1 h2h://139:101/2001-12-09
26083 Djibouti 111 Burundi 139 2001-12-11 3 0 3 0 3 8 2000-11-23 W     2026-06-07 07:03:24.245673 2026-06-07 07:03:24.245673 1   International Results CSV 1 h2h://139:111/2001-12-11
26091 Uganda 69 Burundi 139 2001-12-14 7 5 0 2 23 9 2000-11-20 W     2026-06-07 07:03:24.247215 2026-06-07 07:03:24.247216 1   International Results CSV 1 h2h://69:139/2001-12-14
26098 Ethiopia 112 Burundi 139 2001-12-18 1 1 0 0 1 0 2000-11-27 W     2026-06-07 07:03:24.248545 2026-06-07 07:03:24.248546 1   International Results CSV 1 h2h://112:139/2001-12-18
26702 South Africa 21 Burundi 139 2002-10-13 0 0 0 0 0 0         2026-06-07 07:03:24.364533 2026-06-07 07:03:24.364533 1   International Results CSV 1 h2h://21:139/2002-10-13
26811 Kenya 68 Burundi 139 2002-12-03 2 1 1 0 3 3 2000-10-03 L     2026-06-07 07:03:24.385629 2026-06-07 07:03:24.385629 1   International Results CSV 1 h2h://68:139/2002-12-03
26815 Tanzania 101 Burundi 139 2002-12-05 7 4 3 0 9 6 2001-12-09 W     2026-06-07 07:03:24.386408 2026-06-07 07:03:24.386408 1   International Results CSV 1 h2h://101:139/2002-12-05
27378 South Africa 21 Burundi 139 2003-07-06 1 1 0 0 2 0 2002-10-13 L     2026-06-07 07:03:24.494699 2026-06-07 07:03:24.494700 1   International Results CSV 1 h2h://139:21/2003-07-06
28848 Ethiopia 112 Burundi 139 2004-12-11 2 1 0 1 3 2 2001-12-18 D     2026-06-07 07:03:24.775914 2026-06-07 07:03:24.775915 1   International Results CSV 1 h2h://112:139/2004-12-11
28877 Tanzania 101 Burundi 139 2004-12-15 8 5 3 0 11 6 2002-12-05 W     2026-06-07 07:03:24.781525 2026-06-07 07:03:24.781525 1   International Results CSV 1 h2h://101:139/2004-12-15
28885 Zanzibar 110 Burundi 139 2004-12-17 0 0 0 0 0 0         2026-06-07 07:03:24.783022 2026-06-07 07:03:24.783022 1   International Results CSV 1 h2h://139:110/2004-12-17
28906 Ethiopia 112 Burundi 139 2004-12-25 3 2 0 1 5 3 2004-12-11 W     2026-06-07 07:03:24.787045 2026-06-07 07:03:24.787045 1   International Results CSV 1 h2h://112:139/2004-12-25
29651 Tanzania 101 Burundi 139 2005-11-28 9 5 4 0 11 8 2004-12-15 W     2026-06-07 07:03:24.929726 2026-06-07 07:03:24.929726 1   International Results CSV 1 h2h://139:101/2005-11-28
29654 Zanzibar 110 Burundi 139 2005-11-30 1 0 1 0 1 2 2004-12-17 W     2026-06-07 07:03:24.930293 2026-06-07 07:03:24.930294 1   International Results CSV 1 h2h://139:110/2005-11-30
30189 Egypt 42 Burundi 139 2006-09-02 2 2 0 0 5 0 1975-04-19 W     2026-06-07 07:03:25.365540 2026-06-07 07:03:25.365540 1   International Results CSV 1 h2h://42:139/2006-09-02
30507 Zambia 103 Burundi 139 2006-11-26 0 0 0 0 0 0         2026-06-07 07:03:25.426126 2026-06-07 07:03:25.426126 1   International Results CSV 1 h2h://139:103/2006-11-26
30518 Zanzibar 110 Burundi 139 2006-11-29 2 1 1 0 3 3 2005-11-30 W     2026-06-07 07:03:25.428245 2026-06-07 07:03:25.428245 1   International Results CSV 1 h2h://110:139/2006-11-29
31233 Egypt 42 Burundi 139 2007-09-09 3 3 0 0 9 1 2006-09-02 L     2026-06-07 07:03:25.565361 2026-06-07 07:03:25.565362 1   International Results CSV 1 h2h://139:42/2007-09-09
31520 Kenya 68 Burundi 139 2007-12-12 3 1 1 1 4 4 2002-12-03 D     2026-06-07 07:03:25.620726 2026-06-07 07:03:25.620726 1   International Results CSV 1 h2h://68:139/2007-12-12
31528 Tanzania 101 Burundi 139 2007-12-15 10 6 4 0 13 9 2005-11-28 W     2026-06-07 07:03:25.622271 2026-06-07 07:03:25.622272 1   International Results CSV 1 h2h://101:139/2007-12-15
31537 Uganda 69 Burundi 139 2007-12-22 8 5 1 2 23 11 2001-12-14 W     2026-06-07 07:03:25.624033 2026-06-07 07:03:25.624033 1   International Results CSV 1 h2h://139:69/2007-12-22
32650 Djibouti 111 Burundi 139 2009-01-02 4 0 4 0 4 11 2001-12-11 L     2026-06-07 07:03:25.839730 2026-06-07 07:03:25.839730 1   International Results CSV 1 h2h://111:139/2009-01-02
32657 Zambia 103 Burundi 139 2009-01-04 1 0 1 0 2 3 2006-11-26 L     2026-06-07 07:03:25.841099 2026-06-07 07:03:25.841100 1   International Results CSV 1 h2h://103:139/2009-01-04
32668 Kenya 68 Burundi 139 2009-01-08 4 1 2 1 4 5 2007-12-12 W     2026-06-07 07:03:25.843254 2026-06-07 07:03:25.843255 1   International Results CSV 1 h2h://139:68/2009-01-08
32679 Uganda 69 Burundi 139 2009-01-11 9 6 1 2 25 11 2007-12-22 W     2026-06-07 07:03:25.845434 2026-06-07 07:03:25.845434 1   International Results CSV 1 h2h://69:139/2009-01-11
32681 Tanzania 101 Burundi 139 2009-01-13 11 6 4 1 13 9 2007-12-15 D     2026-06-07 07:03:25.845819 2026-06-07 07:03:25.845819 1   International Results CSV 1 h2h://101:139/2009-01-13
33526 Zanzibar 110 Burundi 139 2009-11-29 3 1 1 1 3 3 2006-11-29 D     2026-06-07 07:03:26.007801 2026-06-07 07:03:26.007801 1   International Results CSV 1 h2h://139:110/2009-11-29
33531 Uganda 69 Burundi 139 2009-12-02 10 7 1 2 30 11 2009-01-11 L     2026-06-07 07:03:26.008783 2026-06-07 07:03:26.008783 1   International Results CSV 1 h2h://139:69/2009-12-02
33538 Tanzania 101 Burundi 139 2009-12-04 12 7 4 1 16 11 2009-01-13 W     2026-06-07 07:03:26.010111 2026-06-07 07:03:26.010111 1   International Results CSV 1 h2h://101:139/2009-12-04
34379 Zambia 103 Burundi 139 2010-11-30 2 0 1 1 3 4 2009-01-04 D     2026-06-07 07:03:26.170715 2026-06-07 07:03:26.170716 1   International Results CSV 1 h2h://103:139/2010-11-30
34444 Uganda 69 Burundi 139 2011-01-05 11 8 1 2 32 11 2009-12-02 W     2026-06-07 07:03:26.183277 2026-06-07 07:03:26.183277 1   International Results CSV 1 h2h://69:139/2011-01-05
34450 Tanzania 101 Burundi 139 2011-01-08 13 8 4 1 17 11 2009-12-04 W     2026-06-07 07:03:26.184440 2026-06-07 07:03:26.184440 1   International Results CSV 1 h2h://101:139/2011-01-08
34456 Egypt 42 Burundi 139 2011-01-11 4 3 0 1 9 1 2007-09-09 D     2026-06-07 07:03:26.185600 2026-06-07 07:03:26.185600 1   International Results CSV 1 h2h://42:139/2011-01-11
35501 Zanzibar 110 Burundi 139 2011-11-27 4 2 1 1 7 3 2009-11-29 W     2026-06-07 07:03:26.734757 2026-06-07 07:03:26.734758 1   International Results CSV 1 h2h://110:139/2011-11-27
35511 Uganda 69 Burundi 139 2011-12-01 12 9 1 2 35 12 2011-01-05 L     2026-06-07 07:03:26.736695 2026-06-07 07:03:26.736695 1   International Results CSV 1 h2h://139:69/2011-12-01
35690 Zimbabwe 102 Burundi 139 2012-02-29 0 0 0 0 0 0         2026-06-07 07:03:26.770769 2026-06-07 07:03:26.770769 1   International Results CSV 1 h2h://139:102/2012-02-29
35991 Zimbabwe 102 Burundi 139 2012-06-17 1 0 1 0 1 2 2012-02-29 L     2026-06-07 07:03:26.828419 2026-06-07 07:03:26.828419 1   International Results CSV 1 h2h://102:139/2012-06-17
36492 Tanzania 101 Burundi 139 2012-11-28 14 8 4 2 18 12 2011-01-08 D     2026-06-07 07:03:26.924972 2026-06-07 07:03:26.924973 1   International Results CSV 1 h2h://101:139/2012-11-28
36508 Zanzibar 110 Burundi 139 2012-12-03 5 2 1 2 7 3 2011-11-27 D     2026-06-07 07:03:26.928085 2026-06-07 07:03:26.928085 1   International Results CSV 1 h2h://139:110/2012-12-03
37513 Zambia 103 Burundi 139 2013-12-01 3 0 1 2 3 4 2010-11-30 D     2026-06-07 07:03:27.127931 2026-06-07 07:03:27.127931 1   International Results CSV 1 h2h://103:139/2013-12-01
37519 Tanzania 101 Burundi 139 2013-12-04 15 8 5 2 18 13 2012-11-28 L     2026-06-07 07:03:27.129147 2026-06-07 07:03:27.129148 1   International Results CSV 1 h2h://101:139/2013-12-04
37525 Zambia 103 Burundi 139 2013-12-08 4 1 1 2 4 4 2013-12-01 W     2026-06-07 07:03:27.130394 2026-06-07 07:03:27.130394 1   International Results CSV 1 h2h://103:139/2013-12-08
37643 Tanzania 101 Burundi 139 2014-04-26 16 9 5 2 19 13 2013-12-04 W     2026-06-07 07:03:27.154116 2026-06-07 07:03:27.154117 1   International Results CSV 1 h2h://101:139/2014-04-26
37921 Kenya 68 Burundi 139 2014-07-15 5 2 2 1 5 5 2009-01-08 W     2026-06-07 07:03:27.209312 2026-06-07 07:03:27.209313 1   International Results CSV 1 h2h://68:139/2014-07-15
38020 Tanzania 101 Burundi 139 2014-09-07 17 9 6 2 19 16 2014-04-26 W     2026-06-07 07:03:27.228904 2026-06-07 07:03:27.228904 1   International Results CSV 1 h2h://139:101/2014-09-07
38521 Mauritius 108 Burundi 139 2015-03-25 0 0 0 0 0 0         2026-06-07 07:03:27.328624 2026-06-07 07:03:27.328624 1   International Results CSV 1 h2h://108:139/2015-03-25
39275 DR Congo 113 Burundi 139 2015-11-12 1 1 0 0 1 0 1976-07-07 L     2026-06-07 07:03:27.478547 2026-06-07 07:03:27.478548 1   International Results CSV 1 h2h://139:113/2015-11-12
39335 DR Congo 113 Burundi 139 2015-11-15 2 2 0 0 4 2 2015-11-12 W     2026-06-07 07:03:27.490477 2026-06-07 07:03:27.490478 1   International Results CSV 1 h2h://113:139/2015-11-15
39394 Zanzibar 110 Burundi 139 2015-11-21 6 2 1 3 7 3 2012-12-03 D     2026-06-07 07:03:27.502278 2026-06-07 07:03:27.502279 1   International Results CSV 1 h2h://139:110/2015-11-21
39403 Kenya 68 Burundi 139 2015-11-25 6 2 2 2 5 5 2014-07-15 D     2026-06-07 07:03:27.504083 2026-06-07 07:03:27.504083 1   International Results CSV 1 h2h://68:139/2015-11-25
39411 Uganda 69 Burundi 139 2015-11-28 13 9 2 2 35 13 2011-12-01 L     2026-06-07 07:03:27.505668 2026-06-07 07:03:27.505668 1   International Results CSV 1 h2h://69:139/2015-11-28
40428 Djibouti 111 Burundi 139 2017-03-11 5 0 5 0 4 15 2009-01-02 W     2026-06-07 07:03:28.052142 2026-06-07 07:03:28.052142 1   International Results CSV 1 h2h://139:111/2017-03-11
40430 Djibouti 111 Burundi 139 2017-03-13 6 0 6 0 4 22 2017-03-11 W     2026-06-07 07:03:28.052517 2026-06-07 07:03:28.052518 1   International Results CSV 1 h2h://139:111/2017-03-13
40554 Tanzania 101 Burundi 139 2017-03-28 18 9 7 2 19 18 2014-09-07 L     2026-06-07 07:03:28.076421 2026-06-07 07:03:28.076421 1   International Results CSV 1 h2h://101:139/2017-03-28
41228 Uganda 69 Burundi 139 2017-12-04 14 10 2 2 36 13 2015-11-28 W     2026-06-07 07:03:28.205273 2026-06-07 07:03:28.205273 1   International Results CSV 1 h2h://69:139/2017-12-04
41238 Ethiopia 112 Burundi 139 2017-12-07 4 3 0 1 8 3 2004-12-25 L     2026-06-07 07:03:28.207179 2026-06-07 07:03:28.207179 1   International Results CSV 1 h2h://139:112/2017-12-07
41258 Kenya 68 Burundi 139 2017-12-14 7 2 2 3 6 6 2015-11-25 D     2026-06-07 07:03:28.211075 2026-06-07 07:03:28.211076 1   International Results CSV 1 h2h://68:139/2017-12-14
41266 Uganda 69 Burundi 139 2017-12-17 15 10 2 3 36 13 2017-12-04 D     2026-06-07 07:03:28.212696 2026-06-07 07:03:28.212696 1   International Results CSV 1 h2h://139:69/2017-12-17
41706 Ethiopia 112 Burundi 139 2018-09-02 5 3 1 1 9 7 2017-12-07 L     2026-06-07 07:03:28.297512 2026-06-07 07:03:28.297512 1   International Results CSV 1 h2h://112:139/2018-09-02
42646 Nigeria 120 Burundi 139 2019-06-22 0 0 0 0 0 0         2026-06-07 07:03:28.478991 2026-06-07 07:03:28.478992 1   International Results CSV 1 h2h://120:139/2019-06-22
42676 Madagascar 107 Burundi 139 2019-06-27 0 0 0 0 0 0         2026-06-07 07:03:28.484903 2026-06-07 07:03:28.484903 1   International Results CSV 1 h2h://107:139/2019-06-27
42800 Tanzania 101 Burundi 139 2019-09-04 19 10 7 2 21 19 2017-03-28 L     2026-06-07 07:03:28.510647 2026-06-07 07:03:28.510648 1   International Results CSV 1 h2h://139:101/2019-09-04
42906 Tanzania 101 Burundi 139 2019-09-08 20 10 7 3 22 20 2019-09-04 D     2026-06-07 07:03:28.532218 2026-06-07 07:03:28.532219 1   International Results CSV 1 h2h://101:139/2019-09-08
43500 Tanzania 101 Burundi 139 2020-10-11 21 10 7 4 23 21 2019-09-08 D     2026-06-07 07:03:28.651091 2026-06-07 07:03:28.651091 1   International Results CSV 1 h2h://101:139/2020-10-11
44666 Myanmar 125 Burundi 139 2021-11-13 0 0 0 0 0 0         2026-06-07 07:03:28.884779 2026-06-07 07:03:28.884779 1   International Results CSV 1 h2h://139:125/2021-11-13
45908 Indonesia 83 Burundi 139 2023-03-25 0 0 0 0 0 0         2026-06-07 07:03:29.482648 2026-06-07 07:03:29.482648 1   International Results CSV 1 h2h://83:139/2023-03-25
45977 Indonesia 83 Burundi 139 2023-03-28 1 1 0 0 3 1 2023-03-25 W     2026-06-07 07:03:29.495723 2026-06-07 07:03:29.495724 1   International Results CSV 1 h2h://83:139/2023-03-28
46674 Gambia 133 Burundi 139 2023-11-16 0 0 0 0 0 0         2026-06-07 07:03:29.629826 2026-06-07 07:03:29.629826 1   International Results CSV 1 h2h://139:133/2023-11-16
47250 Kenya 68 Burundi 139 2024-06-07 8 3 2 3 7 6 2017-12-14 W     2026-06-07 07:03:29.741570 2026-06-07 07:03:29.741570 1   International Results CSV 1 h2h://68:139/2024-06-07
48326 Guinea-Bissau 137 Burundi 139 2025-06-06 0 0 0 0 0 0         2026-06-07 07:03:29.948158 2026-06-07 07:03:29.948159 1   International Results CSV 1 h2h://139:137/2025-06-06
48649 Gambia 133 Burundi 139 2025-09-09 1 0 1 0 2 3 2023-11-16 L     2026-06-07 07:03:30.009917 2026-06-07 07:03:30.009918 1   International Results CSV 1 h2h://133:139/2025-09-09
48687 Kenya 68 Burundi 139 2025-10-09 9 3 2 4 8 7 2024-06-07 D     2026-06-07 07:03:30.017155 2026-06-07 07:03:30.017155 1   International Results CSV 1 h2h://139:68/2025-10-09

Advanced export

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

CSV options:

CREATE TABLE h2h_record (
            h2h_id INTEGER NOT NULL,
            team_a_id INTEGER NOT NULL,
            team_b_id INTEGER NOT NULL,
            date DATE NOT NULL,
            total_matches INTEGER NOT NULL,
            wins_a INTEGER NOT NULL,
            wins_b INTEGER NOT NULL,
            draws INTEGER NOT NULL,
            goals_a INTEGER NOT NULL,
            goals_b INTEGER NOT NULL,
            last_match_date DATE,
            last_result VARCHAR(1),
            last_match_id INTEGER,
            competition_id INTEGER,
            created_at DATETIME NOT NULL,
            updated_at DATETIME NOT NULL,
            created_by_run_id INTEGER,
            updated_by_run_id INTEGER,
            source_id INTEGER NOT NULL,
            source_raw_key VARCHAR(512),
            CONSTRAINT pk_h2h_record PRIMARY KEY (h2h_id),
            CONSTRAINT fk_h2h_record_team_a FOREIGN KEY(team_a_id) REFERENCES team (team_id),
            CONSTRAINT fk_h2h_record_team_b FOREIGN KEY(team_b_id) REFERENCES team (team_id),
            CONSTRAINT fk_h2h_record_source FOREIGN KEY(source_id) REFERENCES data_source (source_id),
            CONSTRAINT fk_h2h_record_match FOREIGN KEY(last_match_id) REFERENCES match (match_id),
            CONSTRAINT fk_h2h_record_competition FOREIGN KEY(competition_id) REFERENCES competition (competition_id)
        );
Powered by Datasette · Queries took 930.458ms