home / football

h2h_record

138 rows where team_b_id = 121

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: team_a_id, total_matches, wins_a, wins_b, draws, 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
3321 Turkey 61 Syria 121 1949-11-20 0 0 0 0 0 0         2026-06-07 07:03:18.461832 2026-06-07 07:03:18.461832 1   International Results CSV 1 h2h://61:121/1949-11-20
3323 Greece 39 Syria 121 1949-11-25 0 0 0 0 0 0         2026-06-07 07:03:18.461845 2026-06-07 07:03:18.461846 1   International Results CSV 1 h2h://39:121/1949-11-25
5768 Lebanon 96 Syria 121 1963-04-04 0 0 0 0 0 0         2026-06-07 07:03:19.023695 2026-06-07 07:03:19.023695 1   International Results CSV 1 h2h://96:121/1963-04-04
6590 Lebanon 96 Syria 121 1966-04-09 1 0 1 0 2 3 1963-04-04 L     2026-06-07 07:03:19.179858 2026-06-07 07:03:19.179859 1   International Results CSV 1 h2h://96:121/1966-04-09
6716 China 33 Syria 121 1966-07-23 0 0 0 0 0 0         2026-06-07 07:03:19.203870 2026-06-07 07:03:19.203870 1   International Results CSV 1 h2h://33:121/1966-07-23
8456 Egypt 42 Syria 121 1971-07-11 0 0 0 0 0 0         2026-06-07 07:03:19.538757 2026-06-07 07:03:19.538758 1   International Results CSV 1 h2h://42:121/1971-07-11
8701 Lebanon 96 Syria 121 1971-12-19 2 0 2 0 2 4 1966-04-09 L     2026-06-07 07:03:19.587248 2026-06-07 07:03:19.587249 1   International Results CSV 1 h2h://96:121/1971-12-19
8731 Egypt 42 Syria 121 1972-01-12 1 1 0 0 1 0 1971-07-11 W     2026-06-07 07:03:19.593056 2026-06-07 07:03:19.593056 1   International Results CSV 1 h2h://42:121/1972-01-12
9262 Iran 99 Syria 121 1973-05-08 0 0 0 0 0 0         2026-06-07 07:03:19.697904 2026-06-07 07:03:19.697904 1   International Results CSV 1 h2h://99:121/1973-05-08
9281 Iran 99 Syria 121 1973-05-15 1 1 0 0 1 0 1973-05-08 W     2026-06-07 07:03:19.701690 2026-06-07 07:03:19.701690 1   International Results CSV 1 h2h://99:121/1973-05-15
9447 Egypt 42 Syria 121 1973-08-20 2 2 0 0 5 2 1972-01-12 W     2026-06-07 07:03:19.734922 2026-06-07 07:03:19.734923 1   International Results CSV 1 h2h://42:121/1973-08-20
10808 Iran 99 Syria 121 1977-01-28 2 1 1 0 1 1 1973-05-15 W     2026-06-07 07:03:20.307549 2026-06-07 07:03:20.307549 1   International Results CSV 1 h2h://121:99/1977-01-28
11428 Indonesia 83 Syria 121 1978-07-13 0 0 0 0 0 0         2026-06-07 07:03:20.428447 2026-06-07 07:03:20.428448 1   International Results CSV 1 h2h://83:121/1978-07-13
11442 Japan 36 Syria 121 1978-07-17 0 0 0 0 0 0         2026-06-07 07:03:20.431225 2026-06-07 07:03:20.431226 1   International Results CSV 1 h2h://36:121/1978-07-17
11468 South Korea 114 Syria 121 1978-07-27 0 0 0 0 0 0         2026-06-07 07:03:20.436340 2026-06-07 07:03:20.436340 1   International Results CSV 1 h2h://114:121/1978-07-27
12368 Iran 99 Syria 121 1980-09-17 3 2 1 0 2 1 1977-01-28 W     2026-06-07 07:03:20.614624 2026-06-07 07:03:20.614624 1   International Results CSV 1 h2h://99:121/1980-09-17
12381 China 33 Syria 121 1980-09-23 1 1 0 0 6 0 1966-07-23 L     2026-06-07 07:03:20.617202 2026-06-07 07:03:20.617202 1   International Results CSV 1 h2h://121:33/1980-09-23
13522 Japan 36 Syria 121 1983-02-12 1 1 0 0 3 2 1978-07-17 L     2026-06-07 07:03:20.843723 2026-06-07 07:03:20.843723 1   International Results CSV 1 h2h://121:36/1983-02-12
13682 Japan 36 Syria 121 1983-06-07 2 1 0 1 5 4 1983-02-12 D     2026-06-07 07:03:20.875552 2026-06-07 07:03:20.875552 1   International Results CSV 1 h2h://36:121/1983-06-07
14224 Philippines 32 Syria 121 1984-08-07 0 0 0 0 0 0         2026-06-07 07:03:20.983145 2026-06-07 07:03:20.983145 1   International Results CSV 1 h2h://121:32/1984-08-07
14227 Iran 99 Syria 121 1984-08-09 4 2 1 1 2 1 1980-09-17 D     2026-06-07 07:03:20.983724 2026-06-07 07:03:20.983724 1   International Results CSV 1 h2h://99:121/1984-08-09
14238 Indonesia 83 Syria 121 1984-08-15 1 1 0 0 1 0 1978-07-13 W     2026-06-07 07:03:20.985888 2026-06-07 07:03:20.985888 1   International Results CSV 1 h2h://83:121/1984-08-15
14243 Iran 99 Syria 121 1984-08-18 5 3 1 1 5 2 1984-08-09 W     2026-06-07 07:03:20.986869 2026-06-07 07:03:20.986869 1   International Results CSV 1 h2h://99:121/1984-08-18
14462 South Korea 114 Syria 121 1984-12-07 1 1 0 0 2 0 1978-07-27 L     2026-06-07 07:03:21.030043 2026-06-07 07:03:21.030043 1   International Results CSV 1 h2h://121:114/1984-12-07
15370 Japan 36 Syria 121 1986-07-25 3 2 0 1 6 4 1983-06-07 W     2026-06-07 07:03:21.522138 2026-06-07 07:03:21.522139 1   International Results CSV 1 h2h://36:121/1986-07-25
15554 Nigeria 120 Syria 121 1987-01-27 0 0 0 0 0 0         2026-06-07 07:03:21.557093 2026-06-07 07:03:21.557093 1   International Results CSV 1 h2h://120:121/1987-01-27
16143 Iran 99 Syria 121 1988-05-29 6 4 1 1 6 2 1984-08-18 L     2026-06-07 07:03:21.669587 2026-06-07 07:03:21.669587 1   International Results CSV 1 h2h://121:99/1988-05-29
16235 Egypt 42 Syria 121 1988-07-19 3 2 1 0 5 4 1973-08-20 L     2026-06-07 07:03:21.687113 2026-06-07 07:03:21.687113 1   International Results CSV 1 h2h://42:121/1988-07-19
16412 Russia 28 Syria 121 1988-11-21 0 0 0 0 0 0         2026-06-07 07:03:21.721232 2026-06-07 07:03:21.721232 1   International Results CSV 1 h2h://121:28/1988-11-21
16435 China 33 Syria 121 1988-12-04 2 1 1 0 6 1 1980-09-23 L     2026-06-07 07:03:21.725609 2026-06-07 07:03:21.725609 1   International Results CSV 1 h2h://33:121/1988-12-04
18475 Egypt 42 Syria 121 1992-09-15 4 2 1 1 5 4 1988-07-19 D     2026-06-07 07:03:22.120817 2026-06-07 07:03:22.120818 1   International Results CSV 1 h2h://121:42/1992-09-15
19175 Iran 99 Syria 121 1993-06-27 7 4 1 2 7 3 1988-05-29 D     2026-06-07 07:03:22.259975 2026-06-07 07:03:22.259975 1   International Results CSV 1 h2h://99:121/1993-06-27
19209 Iran 99 Syria 121 1993-07-07 8 4 1 3 8 4 1993-06-27 D     2026-06-07 07:03:22.266704 2026-06-07 07:03:22.266705 1   International Results CSV 1 h2h://121:99/1993-07-07
20224 Egypt 42 Syria 121 1995-03-31 5 2 1 2 5 4 1992-09-15 D     2026-06-07 07:03:22.788728 2026-06-07 07:03:22.788728 1   International Results CSV 1 h2h://121:42/1995-03-31
20416 Egypt 42 Syria 121 1995-07-09 6 3 1 2 7 5 1995-03-31 L     2026-06-07 07:03:22.825358 2026-06-07 07:03:22.825358 1   International Results CSV 1 h2h://121:42/1995-07-09
21545 Japan 36 Syria 121 1996-12-06 4 3 0 1 8 5 1986-07-25 W     2026-06-07 07:03:23.041245 2026-06-07 07:03:23.041245 1   International Results CSV 1 h2h://36:121/1996-12-06
21553 China 33 Syria 121 1996-12-09 3 2 1 0 9 1 1988-12-04 L     2026-06-07 07:03:23.042768 2026-06-07 07:03:23.042769 1   International Results CSV 1 h2h://121:33/1996-12-09
21995 Iran 99 Syria 121 1997-06-06 9 4 1 4 9 5 1993-07-07 D     2026-06-07 07:03:23.127939 2026-06-07 07:03:23.127940 1   International Results CSV 1 h2h://121:99/1997-06-06
22051 Iran 99 Syria 121 1997-06-13 10 5 1 4 10 5 1997-06-06 W     2026-06-07 07:03:23.138744 2026-06-07 07:03:23.138745 1   International Results CSV 1 h2h://99:121/1997-06-13
22913 Lebanon 96 Syria 121 1998-07-26 3 1 2 0 5 6 1971-12-19 W     2026-06-07 07:03:23.304402 2026-06-07 07:03:23.304403 1   International Results CSV 1 h2h://96:121/1998-07-26
23148 Lebanon 96 Syria 121 1998-10-17 4 1 3 0 5 7 1998-07-26 L     2026-06-07 07:03:23.348959 2026-06-07 07:03:23.348960 1   International Results CSV 1 h2h://96:121/1998-10-17
24327 Iran 99 Syria 121 2000-04-02 11 5 1 5 12 7 1997-06-13 D     2026-06-07 07:03:23.578916 2026-06-07 07:03:23.578916 1   International Results CSV 1 h2h://121:99/2000-04-02
24380 Iran 99 Syria 121 2000-04-11 12 6 1 5 13 7 2000-04-02 W     2026-06-07 07:03:23.588961 2026-06-07 07:03:23.588961 1   International Results CSV 1 h2h://99:121/2000-04-11
24521 Iran 99 Syria 121 2000-05-28 13 6 1 6 14 8 2000-04-11 D     2026-06-07 07:03:23.615821 2026-06-07 07:03:23.615822 1   International Results CSV 1 h2h://99:121/2000-05-28
24538 Iran 99 Syria 121 2000-06-02 14 7 1 6 15 8 2000-05-28 W     2026-06-07 07:03:23.619019 2026-06-07 07:03:23.619019 1   International Results CSV 1 h2h://99:121/2000-06-02
25268 Lebanon 96 Syria 121 2001-03-07 5 1 3 1 8 10 1998-10-17 D     2026-06-07 07:03:24.090080 2026-06-07 07:03:24.090080 1   International Results CSV 1 h2h://96:121/2001-03-07
25499 Philippines 32 Syria 121 2001-04-30 1 0 1 0 0 2 1984-08-07 W     2026-06-07 07:03:24.133959 2026-06-07 07:03:24.133959 1   International Results CSV 1 h2h://121:32/2001-04-30
25504 Philippines 32 Syria 121 2001-05-04 2 0 2 0 0 14 2001-04-30 W     2026-06-07 07:03:24.134904 2026-06-07 07:03:24.134904 1   International Results CSV 1 h2h://121:32/2001-05-04
26636 Iran 99 Syria 121 2002-09-07 15 8 1 6 16 8 2000-06-02 L     2026-06-07 07:03:24.351820 2026-06-07 07:03:24.351820 1   International Results CSV 1 h2h://121:99/2002-09-07
26820 China 33 Syria 121 2002-12-07 4 3 1 0 12 1 1996-12-09 W     2026-06-07 07:03:24.387374 2026-06-07 07:03:24.387374 1   International Results CSV 1 h2h://33:121/2002-12-07
26863 Lebanon 96 Syria 121 2002-12-21 6 1 3 2 10 12 2001-03-07 D     2026-06-07 07:03:24.395732 2026-06-07 07:03:24.395732 1   International Results CSV 1 h2h://121:96/2002-12-21
27470 Lebanon 96 Syria 121 2003-08-22 7 1 4 2 11 16 2002-12-21 L     2026-06-07 07:03:24.512501 2026-06-07 07:03:24.512502 1   International Results CSV 1 h2h://96:121/2003-08-22
28004 Lebanon 96 Syria 121 2004-03-23 8 2 4 2 12 16 2003-08-22 W     2026-06-07 07:03:24.614484 2026-06-07 07:03:24.614484 1   International Results CSV 1 h2h://96:121/2004-03-23
28324 Lebanon 96 Syria 121 2004-06-19 9 2 5 2 12 17 2004-03-23 W     2026-06-07 07:03:24.675593 2026-06-07 07:03:24.675593 1   International Results CSV 1 h2h://121:96/2004-06-19
28345 Iran 99 Syria 121 2004-06-21 16 8 1 7 18 10 2002-09-07 D     2026-06-07 07:03:24.679581 2026-06-07 07:03:24.679582 1   International Results CSV 1 h2h://99:121/2004-06-21
28356 Iran 99 Syria 121 2004-06-25 17 9 1 7 25 11 2004-06-21 W     2026-06-07 07:03:24.681724 2026-06-07 07:03:24.681724 1   International Results CSV 1 h2h://99:121/2004-06-25
28947 Japan 36 Syria 121 2005-02-02 5 4 0 1 10 6 1996-12-06 W     2026-06-07 07:03:24.794835 2026-06-07 07:03:24.794835 1   International Results CSV 1 h2h://36:121/2005-02-02
29806 South Korea 114 Syria 121 2006-02-22 2 1 1 0 2 1 1984-12-07 W     2026-06-07 07:03:24.959300 2026-06-07 07:03:24.959300 1   International Results CSV 1 h2h://121:114/2006-02-22
30147 Iran 99 Syria 121 2006-08-16 18 10 1 7 29 12 2004-06-25 W     2026-06-07 07:03:25.357447 2026-06-07 07:03:25.357448 1   International Results CSV 1 h2h://99:121/2006-08-16
30381 South Korea 114 Syria 121 2006-10-11 3 2 1 0 4 2 2006-02-22 W     2026-06-07 07:03:25.402177 2026-06-07 07:03:25.402178 1   International Results CSV 1 h2h://114:121/2006-10-11
30942 Lebanon 96 Syria 121 2007-06-16 10 2 6 2 13 20 2004-06-19 L     2026-06-07 07:03:25.509613 2026-06-07 07:03:25.509613 1   International Results CSV 1 h2h://96:121/2007-06-16
31161 India 92 Syria 121 2007-08-23 0 0 0 0 0 0         2026-06-07 07:03:25.551581 2026-06-07 07:03:25.551582 1   International Results CSV 1 h2h://92:121/2007-08-23
31178 India 92 Syria 121 2007-08-29 1 0 1 0 2 3 2007-08-23 L     2026-06-07 07:03:25.554785 2026-06-07 07:03:25.554786 1   International Results CSV 1 h2h://92:121/2007-08-29
31294 Afghanistan 98 Syria 121 2007-10-08 0 0 0 0 0 0         2026-06-07 07:03:25.577049 2026-06-07 07:03:25.577050 1   International Results CSV 1 h2h://121:98/2007-10-08
31388 Afghanistan 98 Syria 121 2007-10-26 1 0 1 0 0 3 2007-10-08 L     2026-06-07 07:03:25.595190 2026-06-07 07:03:25.595190 1   International Results CSV 1 h2h://98:121/2007-10-26
31405 Indonesia 83 Syria 121 2007-11-09 2 1 1 0 2 2 1984-08-15 L     2026-06-07 07:03:25.598429 2026-06-07 07:03:25.598430 1   International Results CSV 1 h2h://83:121/2007-11-09
31455 Indonesia 83 Syria 121 2007-11-18 3 1 2 0 3 6 2007-11-09 W     2026-06-07 07:03:25.608147 2026-06-07 07:03:25.608147 1   International Results CSV 1 h2h://121:83/2007-11-18
31596 China 33 Syria 121 2008-01-27 5 4 1 0 15 2 2002-12-07 W     2026-06-07 07:03:25.635484 2026-06-07 07:03:25.635484 1   International Results CSV 1 h2h://33:121/2008-01-27
31647 Iran 99 Syria 121 2008-02-06 19 10 1 8 30 13 2006-08-16 D     2026-06-07 07:03:25.645335 2026-06-07 07:03:25.645335 1   International Results CSV 1 h2h://99:121/2008-02-06
32028 Iran 99 Syria 121 2008-06-14 20 10 1 9 30 13 2008-02-06 D     2026-06-07 07:03:25.719466 2026-06-07 07:03:25.719467 1   International Results CSV 1 h2h://121:99/2008-06-14
32187 Iran 99 Syria 121 2008-08-13 21 11 1 9 32 13 2008-06-14 W     2026-06-07 07:03:25.750422 2026-06-07 07:03:25.750423 1   International Results CSV 1 h2h://99:121/2008-08-13
32240 Venezuela 88 Syria 121 2008-08-20 0 0 0 0 0 0         2026-06-07 07:03:25.760766 2026-06-07 07:03:25.760766 1   International Results CSV 1 h2h://88:121/2008-08-20
32543 Japan 36 Syria 121 2008-11-13 6 5 0 1 13 6 2005-02-02 W     2026-06-07 07:03:25.819064 2026-06-07 07:03:25.819064 1   International Results CSV 1 h2h://36:121/2008-11-13
32688 China 33 Syria 121 2009-01-14 6 5 1 0 17 3 2008-01-27 L     2026-06-07 07:03:25.847209 2026-06-07 07:03:25.847209 1   International Results CSV 1 h2h://121:33/2009-01-14
32718 Lebanon 96 Syria 121 2009-01-28 11 2 7 2 13 21 2007-06-16 L     2026-06-07 07:03:25.853092 2026-06-07 07:03:25.853093 1   International Results CSV 1 h2h://96:121/2009-01-28
32730 South Korea 114 Syria 121 2009-02-01 4 2 1 1 5 3 2006-10-11 D     2026-06-07 07:03:25.855420 2026-06-07 07:03:25.855421 1   International Results CSV 1 h2h://121:114/2009-02-01
33076 Haiti 66 Syria 121 2009-06-27 0 0 0 0 0 0         2026-06-07 07:03:25.921912 2026-06-07 07:03:25.921913 1   International Results CSV 1 h2h://66:121/2009-06-27
33217 Lebanon 96 Syria 121 2009-08-27 12 2 8 2 13 23 2009-01-28 W     2026-06-07 07:03:25.948740 2026-06-07 07:03:25.948740 1   International Results CSV 1 h2h://121:96/2009-08-27
33219 India 92 Syria 121 2009-08-29 2 1 1 0 3 3 2007-08-29 W     2026-06-07 07:03:25.949107 2026-06-07 07:03:25.949107 1   International Results CSV 1 h2h://92:121/2009-08-29
33222 India 92 Syria 121 2009-08-31 3 1 2 0 3 4 2009-08-29 L     2026-06-07 07:03:25.949672 2026-06-07 07:03:25.949673 1   International Results CSV 1 h2h://92:121/2009-08-31
33487 Vietnam 115 Syria 121 2009-11-14 0 0 0 0 0 0         2026-06-07 07:03:26.000414 2026-06-07 07:03:26.000414 1   International Results CSV 1 h2h://115:121/2009-11-14
33517 Vietnam 115 Syria 121 2009-11-18 1 0 1 0 0 1 2009-11-14 W     2026-06-07 07:03:26.006079 2026-06-07 07:03:26.006079 1   International Results CSV 1 h2h://121:115/2009-11-18
33575 Zimbabwe 102 Syria 121 2010-01-02 0 0 0 0 0 0         2026-06-07 07:03:26.017208 2026-06-07 07:03:26.017208 1   International Results CSV 1 h2h://121:102/2010-01-02
33583 China 33 Syria 121 2010-01-06 7 5 2 0 19 6 2009-01-14 L     2026-06-07 07:03:26.018703 2026-06-07 07:03:26.018703 1   International Results CSV 1 h2h://33:121/2010-01-06
33627 Sweden 23 Syria 121 2010-01-23 0 0 0 0 0 0         2026-06-07 07:03:26.027041 2026-06-07 07:03:26.027041 1   International Results CSV 1 h2h://121:23/2010-01-23
33709 Lebanon 96 Syria 121 2010-03-03 13 2 9 2 13 24 2009-08-27 W     2026-06-07 07:03:26.042772 2026-06-07 07:03:26.042772 1   International Results CSV 1 h2h://121:96/2010-03-03
34144 China 33 Syria 121 2010-10-08 8 5 2 1 19 6 2010-01-06 D     2026-06-07 07:03:26.125790 2026-06-07 07:03:26.125790 1   International Results CSV 1 h2h://33:121/2010-10-08
34433 South Korea 114 Syria 121 2010-12-30 5 2 1 2 6 4 2009-02-01 D     2026-06-07 07:03:26.181180 2026-06-07 07:03:26.181180 1   International Results CSV 1 h2h://121:114/2010-12-30
34463 Japan 36 Syria 121 2011-01-13 7 6 0 1 16 7 2008-11-13 L     2026-06-07 07:03:26.186940 2026-06-07 07:03:26.186940 1   International Results CSV 1 h2h://121:36/2011-01-13
35036 Lebanon 96 Syria 121 2011-08-17 14 2 10 2 13 28 2010-03-03 L     2026-06-07 07:03:26.645633 2026-06-07 07:03:26.645634 1   International Results CSV 1 h2h://96:121/2011-08-17
36087 India 92 Syria 121 2012-08-22 4 1 2 1 4 5 2009-08-31 D     2026-06-07 07:03:26.846779 2026-06-07 07:03:26.846779 1   International Results CSV 1 h2h://92:121/2012-08-22
37214 Lebanon 96 Syria 121 2013-09-06 15 2 11 2 15 31 2011-08-17 L     2026-06-07 07:03:27.067848 2026-06-07 07:03:27.067848 1   International Results CSV 1 h2h://96:121/2013-09-06
38285 Indonesia 83 Syria 121 2014-11-15 4 1 3 0 3 13 2007-11-18 L     2026-06-07 07:03:27.281435 2026-06-07 07:03:27.281435 1   International Results CSV 1 h2h://83:121/2014-11-15
38653 Lebanon 96 Syria 121 2015-05-24 16 3 11 2 17 31 2013-09-06 W     2026-06-07 07:03:27.354936 2026-06-07 07:03:27.354936 1   International Results CSV 1 h2h://96:121/2015-05-24
38730 Afghanistan 98 Syria 121 2015-06-11 2 0 2 0 1 5 2007-10-26 L     2026-06-07 07:03:27.370397 2026-06-07 07:03:27.370398 1   International Results CSV 1 h2h://98:121/2015-06-11
39153 Japan 36 Syria 121 2015-10-08 8 7 0 1 18 8 2011-01-13 L     2026-06-07 07:03:27.454370 2026-06-07 07:03:27.454370 1   International Results CSV 1 h2h://121:36/2015-10-08
39249 Afghanistan 98 Syria 121 2015-10-13 3 0 3 0 1 11 2015-06-11 W     2026-06-07 07:03:27.473387 2026-06-07 07:03:27.473387 1   International Results CSV 1 h2h://121:98/2015-10-13
39598 Japan 36 Syria 121 2016-03-29 9 8 0 1 21 8 2015-10-08 W     2026-06-07 07:03:27.542928 2026-06-07 07:03:27.542929 1   International Results CSV 1 h2h://36:121/2016-03-29
39704 Vietnam 115 Syria 121 2016-05-31 2 0 1 1 0 1 2009-11-18 D     2026-06-07 07:03:27.563939 2026-06-07 07:03:27.563939 1   International Results CSV 1 h2h://115:121/2016-05-31
40070 South Korea 114 Syria 121 2016-09-06 6 3 1 2 7 4 2010-12-30 L     2026-06-07 07:03:27.983192 2026-06-07 07:03:27.983192 1   International Results CSV 1 h2h://121:114/2016-09-06

Next page

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