home / football

h2h_record

200 rows where team_b_id = 146

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: 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
4308 Lithuania 60 Moldova 146 1956-08-12 0 0 0 0 0 0         2026-06-07 07:03:18.470515 2026-06-07 07:03:18.470515 1   International Results CSV 1 h2h://60:146/1956-08-12
18232 Lithuania 60 Moldova 146 1992-05-20 1 0 1 0 1 4 1956-08-12 W     2026-06-07 07:03:22.072508 2026-06-07 07:03:22.072509 1   International Results CSV 1 h2h://146:60/1992-05-20
18404 Pakistan 129 Moldova 146 1992-08-18 0 0 0 0 0 0         2026-06-07 07:03:22.106734 2026-06-07 07:03:22.106734 1   International Results CSV 1 h2h://146:129/1992-08-18
19638 United States 5 Moldova 146 1994-04-16 0 0 0 0 0 0         2026-06-07 07:03:22.352112 2026-06-07 07:03:22.352113 1   International Results CSV 1 h2h://5:146/1994-04-16
19660 United States 5 Moldova 146 1994-04-20 1 0 0 1 1 1 1994-04-16 D     2026-06-07 07:03:22.356451 2026-06-07 07:03:22.356452 1   International Results CSV 1 h2h://5:146/1994-04-20
19953 Wales 3 Moldova 146 1994-10-12 0 0 0 0 0 0         2026-06-07 07:03:22.414901 2026-06-07 07:03:22.414901 1   International Results CSV 1 h2h://146:3/1994-10-12
20020 Bulgaria 64 Moldova 146 1994-11-16 0 0 0 0 0 0         2026-06-07 07:03:22.749802 2026-06-07 07:03:22.749802 1   International Results CSV 1 h2h://64:146/1994-11-16
20077 Germany 22 Moldova 146 1994-12-14 0 0 0 0 0 0         2026-06-07 07:03:22.760685 2026-06-07 07:03:22.760685 1   International Results CSV 1 h2h://146:22/1994-12-14
20195 Albania 105 Moldova 146 1995-03-29 0 0 0 0 0 0         2026-06-07 07:03:22.783212 2026-06-07 07:03:22.783212 1   International Results CSV 1 h2h://105:146/1995-03-29
20280 Bulgaria 64 Moldova 146 1995-04-26 1 1 0 0 4 1 1994-11-16 L     2026-06-07 07:03:22.799378 2026-06-07 07:03:22.799379 1   International Results CSV 1 h2h://146:64/1995-04-26
20359 Albania 105 Moldova 146 1995-06-07 1 1 0 0 3 0 1995-03-29 L     2026-06-07 07:03:22.814436 2026-06-07 07:03:22.814436 1   International Results CSV 1 h2h://146:105/1995-06-07
20560 Wales 3 Moldova 146 1995-09-06 1 0 1 0 2 3 1994-10-12 L     2026-06-07 07:03:22.852776 2026-06-07 07:03:22.852777 1   International Results CSV 1 h2h://3:146/1995-09-06
20573 Germany 22 Moldova 146 1995-10-08 1 1 0 0 3 0 1994-12-14 W     2026-06-07 07:03:22.855231 2026-06-07 07:03:22.855231 1   International Results CSV 1 h2h://22:146/1995-10-08
20930 Ukraine 74 Moldova 146 1996-04-09 0 0 0 0 0 0         2026-06-07 07:03:22.923548 2026-06-07 07:03:22.923549 1   International Results CSV 1 h2h://146:74/1996-04-09
21056 Romania 38 Moldova 146 1996-06-01 0 0 0 0 0 0         2026-06-07 07:03:22.947622 2026-06-07 07:03:22.947623 1   International Results CSV 1 h2h://38:146/1996-06-01
21243 Turkey 61 Moldova 146 1996-08-14 0 0 0 0 0 0         2026-06-07 07:03:22.983379 2026-06-07 07:03:22.983379 1   International Results CSV 1 h2h://61:146/1996-08-14
21290 England 2 Moldova 146 1996-09-01 0 0 0 0 0 0         2026-06-07 07:03:22.992322 2026-06-07 07:03:22.992322 1   International Results CSV 1 h2h://146:2/1996-09-01
21373 Italy 26 Moldova 146 1996-10-05 0 0 0 0 0 0         2026-06-07 07:03:23.008295 2026-06-07 07:03:23.008295 1   International Results CSV 1 h2h://146:26/1996-10-05
21449 Indonesia 83 Moldova 146 1996-10-30 0 0 0 0 0 0         2026-06-07 07:03:23.022853 2026-06-07 07:03:23.022854 1   International Results CSV 1 h2h://83:146/1996-10-30
21491 Poland 49 Moldova 146 1996-11-10 0 0 0 0 0 0         2026-06-07 07:03:23.030878 2026-06-07 07:03:23.030878 1   International Results CSV 1 h2h://49:146/1996-11-10
21779 Italy 26 Moldova 146 1997-03-29 1 1 0 0 3 1 1996-10-05 W     2026-06-07 07:03:23.086419 2026-06-07 07:03:23.086419 1   International Results CSV 1 h2h://26:146/1997-03-29
22286 England 2 Moldova 146 1997-09-10 1 1 0 0 3 0 1996-09-01 W     2026-06-07 07:03:23.184216 2026-06-07 07:03:23.184216 1   International Results CSV 1 h2h://2:146/1997-09-10
22344 Poland 49 Moldova 146 1997-10-07 1 1 0 0 2 1 1996-11-10 L     2026-06-07 07:03:23.195616 2026-06-07 07:03:23.195616 1   International Results CSV 1 h2h://146:49/1997-10-07
22805 Romania 38 Moldova 146 1998-06-06 1 1 0 0 3 1 1996-06-01 W     2026-06-07 07:03:23.283811 2026-06-07 07:03:23.283811 1   International Results CSV 1 h2h://38:146/1998-06-06
22961 Lithuania 60 Moldova 146 1998-08-16 2 0 1 1 2 5 1992-05-20 D     2026-06-07 07:03:23.313534 2026-06-07 07:03:23.313534 1   International Results CSV 1 h2h://60:146/1998-08-16
22978 Estonia 43 Moldova 146 1998-08-20 0 0 0 0 0 0         2026-06-07 07:03:23.316719 2026-06-07 07:03:23.316720 1   International Results CSV 1 h2h://43:146/1998-08-20
23014 Finland 29 Moldova 146 1998-09-05 0 0 0 0 0 0         2026-06-07 07:03:23.323534 2026-06-07 07:03:23.323535 1   International Results CSV 1 h2h://29:146/1998-09-05
23138 Germany 22 Moldova 146 1998-10-14 2 2 0 0 9 1 1995-10-08 L     2026-06-07 07:03:23.347061 2026-06-07 07:03:23.347061 1   International Results CSV 1 h2h://146:22/1998-10-14
23195 Northern Ireland 4 Moldova 146 1998-11-18 0 0 0 0 0 0         2026-06-07 07:03:23.357955 2026-06-07 07:03:23.357955 1   International Results CSV 1 h2h://4:146/1998-11-18
23420 Turkey 61 Moldova 146 1999-03-27 1 1 0 0 2 0 1996-08-14 W     2026-06-07 07:03:23.400543 2026-06-07 07:03:23.400543 1   International Results CSV 1 h2h://61:146/1999-03-27
23439 Northern Ireland 4 Moldova 146 1999-03-31 1 0 0 1 2 2 1998-11-18 D     2026-06-07 07:03:23.404222 2026-06-07 07:03:23.404223 1   International Results CSV 1 h2h://146:4/1999-03-31
23541 Germany 22 Moldova 146 1999-06-04 3 3 0 0 12 2 1998-10-14 W     2026-06-07 07:03:23.423572 2026-06-07 07:03:23.423572 1   International Results CSV 1 h2h://22:146/1999-06-04
23599 Finland 29 Moldova 146 1999-06-09 1 1 0 0 3 2 1998-09-05 L     2026-06-07 07:03:23.434505 2026-06-07 07:03:23.434505 1   International Results CSV 1 h2h://146:29/1999-06-09
23803 Hungary 10 Moldova 146 1999-08-18 0 0 0 0 0 0         2026-06-07 07:03:23.474009 2026-06-07 07:03:23.474010 1   International Results CSV 1 h2h://10:146/1999-08-18
23865 Turkey 61 Moldova 146 1999-09-08 2 2 0 0 4 0 1999-03-27 L     2026-06-07 07:03:23.486819 2026-06-07 07:03:23.486819 1   International Results CSV 1 h2h://146:61/1999-09-08
24031 Greece 39 Moldova 146 1999-12-16 0 0 0 0 0 0         2026-06-07 07:03:23.519912 2026-06-07 07:03:23.519912 1   International Results CSV 1 h2h://39:146/1999-12-16
24119 Lithuania 60 Moldova 146 2000-02-04 3 0 1 2 3 6 1998-08-16 D     2026-06-07 07:03:23.537462 2026-06-07 07:03:23.537462 1   International Results CSV 1 h2h://146:60/2000-02-04
24567 Russia 28 Moldova 146 2000-06-04 0 0 0 0 0 0         2026-06-07 07:03:23.624606 2026-06-07 07:03:23.624606 1   International Results CSV 1 h2h://146:28/2000-06-04
24842 Turkey 61 Moldova 146 2000-09-02 3 2 0 1 5 1 1999-09-08 D     2026-06-07 07:03:23.679347 2026-06-07 07:03:23.679347 1   International Results CSV 1 h2h://61:146/2000-09-02
24914 Slovakia 93 Moldova 146 2000-10-07 0 0 0 0 0 0         2026-06-07 07:03:23.693559 2026-06-07 07:03:23.693559 1   International Results CSV 1 h2h://146:93/2000-10-07
25194 Israel 82 Moldova 146 2001-02-14 0 0 0 0 0 0         2026-06-07 07:03:24.076035 2026-06-07 07:03:24.076035 1   International Results CSV 1 h2h://82:146/2001-02-14
25365 Sweden 23 Moldova 146 2001-03-28 0 0 0 0 0 0         2026-06-07 07:03:24.108534 2026-06-07 07:03:24.108534 1   International Results CSV 1 h2h://146:23/2001-03-28
25473 Estonia 43 Moldova 146 2001-04-25 1 0 1 0 0 1 1998-08-20 W     2026-06-07 07:03:24.129034 2026-06-07 07:03:24.129034 1   International Results CSV 1 h2h://146:43/2001-04-25
25664 Sweden 23 Moldova 146 2001-06-06 1 1 0 0 2 0 2001-03-28 W     2026-06-07 07:03:24.165462 2026-06-07 07:03:24.165462 1   International Results CSV 1 h2h://23:146/2001-06-06
25860 Portugal 50 Moldova 146 2001-08-15 0 0 0 0 0 0         2026-06-07 07:03:24.202966 2026-06-07 07:03:24.202967 1   International Results CSV 1 h2h://50:146/2001-08-15
25935 Slovakia 93 Moldova 146 2001-09-05 1 1 0 0 1 0 2000-10-07 W     2026-06-07 07:03:24.217286 2026-06-07 07:03:24.217286 1   International Results CSV 1 h2h://93:146/2001-09-05
25977 Turkey 61 Moldova 146 2001-10-06 4 3 0 1 7 1 2000-09-02 L     2026-06-07 07:03:24.225258 2026-06-07 07:03:24.225259 1   International Results CSV 1 h2h://146:61/2001-10-06
26219 Lithuania 60 Moldova 146 2002-02-09 4 0 2 2 4 8 2000-02-04 L     2026-06-07 07:03:24.271734 2026-06-07 07:03:24.271735 1   International Results CSV 1 h2h://60:146/2002-02-09
26309 Hungary 10 Moldova 146 2002-03-27 1 0 0 1 1 1 1999-08-18 D     2026-06-07 07:03:24.288857 2026-06-07 07:03:24.288857 1   International Results CSV 1 h2h://146:10/2002-03-27
26560 Estonia 43 Moldova 146 2002-08-21 2 0 1 1 0 1 2001-04-25 D     2026-06-07 07:03:24.337083 2026-06-07 07:03:24.337084 1   International Results CSV 1 h2h://43:146/2002-08-21
26610 Austria 9 Moldova 146 2002-09-07 0 0 0 0 0 0         2026-06-07 07:03:24.346795 2026-06-07 07:03:24.346795 1   International Results CSV 1 h2h://9:146/2002-09-07
26774 Hungary 10 Moldova 146 2002-11-20 2 1 0 1 3 1 2002-03-27 W     2026-06-07 07:03:24.378465 2026-06-07 07:03:24.378465 1   International Results CSV 1 h2h://10:146/2002-11-20
26996 Israel 82 Moldova 146 2003-03-05 1 1 0 0 1 0 2001-02-14 W     2026-06-07 07:03:24.421515 2026-06-07 07:03:24.421515 1   International Results CSV 1 h2h://82:146/2003-03-05
27052 Belarus 73 Moldova 146 2003-03-29 0 0 0 0 0 0         2026-06-07 07:03:24.432324 2026-06-07 07:03:24.432324 1   International Results CSV 1 h2h://73:146/2003-03-29
27116 Netherlands 18 Moldova 146 2003-04-02 0 0 0 0 0 0         2026-06-07 07:03:24.444593 2026-06-07 07:03:24.444593 1   International Results CSV 1 h2h://146:18/2003-04-02
27217 Austria 9 Moldova 146 2003-06-07 1 1 0 0 2 0 2002-09-07 L     2026-06-07 07:03:24.464125 2026-06-07 07:03:24.464126 1   International Results CSV 1 h2h://146:9/2003-06-07
27467 Turkey 61 Moldova 146 2003-08-20 5 4 0 1 10 1 2001-10-06 W     2026-06-07 07:03:24.511925 2026-06-07 07:03:24.511926 1   International Results CSV 1 h2h://61:146/2003-08-20
27536 Belarus 73 Moldova 146 2003-09-10 1 1 0 0 2 1 2003-03-29 L     2026-06-07 07:03:24.525083 2026-06-07 07:03:24.525083 1   International Results CSV 1 h2h://146:73/2003-09-10
27613 Netherlands 18 Moldova 146 2003-10-11 1 1 0 0 2 1 2003-04-02 W     2026-06-07 07:03:24.539866 2026-06-07 07:03:24.539866 1   International Results CSV 1 h2h://18:146/2003-10-11
27770 Luxembourg 30 Moldova 146 2003-11-20 0 0 0 0 0 0         2026-06-07 07:03:24.569785 2026-06-07 07:03:24.569785 1   International Results CSV 1 h2h://30:146/2003-11-20
27932 Estonia 43 Moldova 146 2004-02-18 3 1 1 1 1 1 2002-08-21 W     2026-06-07 07:03:24.600787 2026-06-07 07:03:24.600787 1   International Results CSV 1 h2h://43:146/2004-02-18
28090 Israel 82 Moldova 146 2004-04-28 2 1 0 1 1 0 2003-03-05 D     2026-06-07 07:03:24.630839 2026-06-07 07:03:24.630839 1   International Results CSV 1 h2h://82:146/2004-04-28
28588 Italy 26 Moldova 146 2004-09-08 2 2 0 0 6 1 1997-03-29 L     2026-06-07 07:03:24.726232 2026-06-07 07:03:24.726232 1   International Results CSV 1 h2h://146:26/2004-09-08
28628 Belarus 73 Moldova 146 2004-10-09 2 1 1 0 3 3 2003-09-10 L     2026-06-07 07:03:24.733930 2026-06-07 07:03:24.733931 1   International Results CSV 1 h2h://73:146/2004-10-09
28704 Scotland 1 Moldova 146 2004-10-13 0 0 0 0 0 0         2026-06-07 07:03:24.748505 2026-06-07 07:03:24.748505 1   International Results CSV 1 h2h://146:1/2004-10-13
29115 Norway 24 Moldova 146 2005-03-30 0 0 0 0 0 0         2026-06-07 07:03:24.827016 2026-06-07 07:03:24.827016 1   International Results CSV 1 h2h://146:24/2005-03-30
29197 Scotland 1 Moldova 146 2005-06-04 1 0 0 1 1 1 2004-10-13 D     2026-06-07 07:03:24.842743 2026-06-07 07:03:24.842743 1   International Results CSV 1 h2h://1:146/2005-06-04
29430 Belarus 73 Moldova 146 2005-09-03 3 2 1 0 7 3 2004-10-09 L     2026-06-07 07:03:24.887312 2026-06-07 07:03:24.887312 1   International Results CSV 1 h2h://146:73/2005-09-03
29529 Norway 24 Moldova 146 2005-10-08 1 0 0 1 0 0 2005-03-30 D     2026-06-07 07:03:24.906363 2026-06-07 07:03:24.906363 1   International Results CSV 1 h2h://24:146/2005-10-08
29568 Italy 26 Moldova 146 2005-10-12 3 3 0 0 7 1 2004-09-08 W     2026-06-07 07:03:24.913847 2026-06-07 07:03:24.913847 1   International Results CSV 1 h2h://26:146/2005-10-12
30156 Lithuania 60 Moldova 146 2006-08-16 5 1 2 2 5 8 2002-02-09 L     2026-06-07 07:03:25.359159 2026-06-07 07:03:25.359159 1   International Results CSV 1 h2h://146:60/2006-08-16
30202 Greece 39 Moldova 146 2006-09-02 1 1 0 0 2 0 1999-12-16 L     2026-06-07 07:03:25.368036 2026-06-07 07:03:25.368037 1   International Results CSV 1 h2h://146:39/2006-09-02
30259 Norway 24 Moldova 146 2006-09-06 2 1 0 1 1 0 2005-10-08 W     2026-06-07 07:03:25.378951 2026-06-07 07:03:25.378951 1   International Results CSV 1 h2h://24:146/2006-09-06
30400 Turkey 61 Moldova 146 2006-10-11 6 5 0 1 12 1 2003-08-20 W     2026-06-07 07:03:25.405777 2026-06-07 07:03:25.405778 1   International Results CSV 1 h2h://61:146/2006-10-11
30654 Romania 38 Moldova 146 2007-02-07 2 2 0 0 8 2 1998-06-06 W     2026-06-07 07:03:25.454450 2026-06-07 07:03:25.454451 1   International Results CSV 1 h2h://38:146/2007-02-07
30763 Hungary 10 Moldova 146 2007-03-28 3 1 0 2 4 2 2002-11-20 D     2026-06-07 07:03:25.475371 2026-06-07 07:03:25.475371 1   International Results CSV 1 h2h://10:146/2007-03-28
30898 Greece 39 Moldova 146 2007-06-06 2 2 0 0 3 0 2006-09-02 W     2026-06-07 07:03:25.501182 2026-06-07 07:03:25.501182 1   International Results CSV 1 h2h://39:146/2007-06-06
31137 Latvia 54 Moldova 146 2007-08-22 0 0 0 0 0 0         2026-06-07 07:03:25.547019 2026-06-07 07:03:25.547019 1   International Results CSV 1 h2h://54:146/2007-08-22
31215 Norway 24 Moldova 146 2007-09-08 3 2 0 1 3 0 2006-09-06 L     2026-06-07 07:03:25.561874 2026-06-07 07:03:25.561874 1   International Results CSV 1 h2h://146:24/2007-09-08
31321 Turkey 61 Moldova 146 2007-10-13 7 6 0 1 17 1 2006-10-11 L     2026-06-07 07:03:25.582225 2026-06-07 07:03:25.582225 1   International Results CSV 1 h2h://146:61/2007-10-13
31436 Hungary 10 Moldova 146 2007-11-17 4 2 0 2 6 2 2007-03-28 L     2026-06-07 07:03:25.604426 2026-06-07 07:03:25.604426 1   International Results CSV 1 h2h://146:10/2007-11-17
31823 Croatia 95 Moldova 146 2008-05-24 0 0 0 0 0 0         2026-06-07 07:03:25.679624 2026-06-07 07:03:25.679624 1   International Results CSV 1 h2h://95:146/2008-05-24
32218 Lithuania 60 Moldova 146 2008-08-20 6 1 3 2 7 11 2006-08-16 L     2026-06-07 07:03:25.756493 2026-06-07 07:03:25.756493 1   International Results CSV 1 h2h://60:146/2008-08-20
32292 Latvia 54 Moldova 146 2008-09-06 1 0 1 0 1 2 2007-08-22 W     2026-06-07 07:03:25.770835 2026-06-07 07:03:25.770835 1   International Results CSV 1 h2h://146:54/2008-09-06
32351 Israel 82 Moldova 146 2008-09-10 3 1 0 2 2 1 2004-04-28 D     2026-06-07 07:03:25.782165 2026-06-07 07:03:25.782165 1   International Results CSV 1 h2h://146:82/2008-09-10
32414 Greece 39 Moldova 146 2008-10-11 3 3 0 0 5 1 2007-06-06 W     2026-06-07 07:03:25.794296 2026-06-07 07:03:25.794297 1   International Results CSV 1 h2h://39:146/2008-10-11
32491 Luxembourg 30 Moldova 146 2008-10-15 1 0 1 0 1 2 2003-11-20 L     2026-06-07 07:03:25.809015 2026-06-07 07:03:25.809015 1   International Results CSV 1 h2h://30:146/2008-10-15
32548 Estonia 43 Moldova 146 2008-11-18 4 2 1 1 2 1 2004-02-18 W     2026-06-07 07:03:25.820043 2026-06-07 07:03:25.820043 1   International Results CSV 1 h2h://43:146/2008-11-18
32571 Lithuania 60 Moldova 146 2008-11-19 7 2 3 2 10 11 2008-08-20 L     2026-06-07 07:03:25.824458 2026-06-07 07:03:25.824459 1   International Results CSV 1 h2h://146:60/2008-11-19
32831 Switzerland 14 Moldova 146 2009-03-28 0 0 0 0 0 0         2026-06-07 07:03:25.874864 2026-06-07 07:03:25.874864 1   International Results CSV 1 h2h://146:14/2009-03-28
32895 Switzerland 14 Moldova 146 2009-04-01 1 1 0 0 2 0 2009-03-28 W     2026-06-07 07:03:25.887207 2026-06-07 07:03:25.887208 1   International Results CSV 1 h2h://14:146/2009-04-01
33010 Belarus 73 Moldova 146 2009-06-10 4 2 2 0 7 5 2005-09-03 L     2026-06-07 07:03:25.909289 2026-06-07 07:03:25.909289 1   International Results CSV 1 h2h://73:146/2009-06-10
33250 Luxembourg 30 Moldova 146 2009-09-05 2 0 1 1 1 2 2008-10-15 D     2026-06-07 07:03:25.955079 2026-06-07 07:03:25.955079 1   International Results CSV 1 h2h://146:30/2009-09-05
33297 Greece 39 Moldova 146 2009-09-09 4 4 0 0 8 1 2008-10-11 L     2026-06-07 07:03:25.964062 2026-06-07 07:03:25.964062 1   International Results CSV 1 h2h://146:39/2009-09-09
33345 Israel 82 Moldova 146 2009-10-10 4 2 0 2 4 2 2008-09-10 W     2026-06-07 07:03:25.973279 2026-06-07 07:03:25.973279 1   International Results CSV 1 h2h://82:146/2009-10-10
33394 Latvia 54 Moldova 146 2009-10-14 2 1 1 0 3 3 2008-09-06 W     2026-06-07 07:03:25.982649 2026-06-07 07:03:25.982649 1   International Results CSV 1 h2h://54:146/2009-10-14
34006 Finland 29 Moldova 146 2010-09-03 2 1 0 1 3 2 1999-06-09 D     2026-06-07 07:03:26.099328 2026-06-07 07:03:26.099328 1   International Results CSV 1 h2h://146:29/2010-09-03
34064 Hungary 10 Moldova 146 2010-09-07 5 2 1 2 6 5 2007-11-17 L     2026-06-07 07:03:26.110470 2026-06-07 07:03:26.110470 1   International Results CSV 1 h2h://10:146/2010-09-07
34159 Netherlands 18 Moldova 146 2010-10-08 2 2 0 0 7 1 2003-10-11 L     2026-06-07 07:03:26.128660 2026-06-07 07:03:26.128660 1   International Results CSV 1 h2h://146:18/2010-10-08
34506 Poland 49 Moldova 146 2011-02-06 2 2 0 0 5 1 1997-10-07 L     2026-06-07 07:03:26.195271 2026-06-07 07:03:26.195272 1   International Results CSV 1 h2h://146:49/2011-02-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 962.038ms