home / football

h2h_record

327 rows where team_b_id = 82

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: 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
1839 Egypt 42 Israel 82 1934-03-16 0 0 0 0 0 0         2026-06-07 07:03:18.448004 2026-06-07 07:03:18.448004 1   International Results CSV 1 h2h://42:82/1934-03-16
1848 Egypt 42 Israel 82 1934-04-06 1 1 0 0 7 1 1934-03-16 L     2026-06-07 07:03:18.448074 2026-06-07 07:03:18.448074 1   International Results CSV 1 h2h://82:42/1934-04-06
2266 Greece 39 Israel 82 1938-01-22 0 0 0 0 0 0         2026-06-07 07:03:18.451877 2026-06-07 07:03:18.451877 1   International Results CSV 1 h2h://82:39/1938-01-22
2279 Greece 39 Israel 82 1938-02-20 1 1 0 0 3 1 1938-01-22 W     2026-06-07 07:03:18.451980 2026-06-07 07:03:18.451980 1   International Results CSV 1 h2h://39:82/1938-02-20
3144 United States 5 Israel 82 1948-09-26 0 0 0 0 0 0         2026-06-07 07:03:18.460275 2026-06-07 07:03:18.460275 1   International Results CSV 1 h2h://5:82/1948-09-26
3277 Yugoslavia 40 Israel 82 1949-08-21 0 0 0 0 0 0         2026-06-07 07:03:18.461417 2026-06-07 07:03:18.461417 1   International Results CSV 1 h2h://40:82/1949-08-21
3285 Yugoslavia 40 Israel 82 1949-09-18 1 1 0 0 6 0 1949-08-21 L     2026-06-07 07:03:18.461482 2026-06-07 07:03:18.461482 1   International Results CSV 1 h2h://82:40/1949-09-18
3444 Turkey 61 Israel 82 1950-10-28 0 0 0 0 0 0         2026-06-07 07:03:18.462894 2026-06-07 07:03:18.462895 1   International Results CSV 1 h2h://82:61/1950-10-28
3464 Turkey 61 Israel 82 1950-12-03 1 0 1 0 1 5 1950-10-28 L     2026-06-07 07:03:18.463090 2026-06-07 07:03:18.463090 1   International Results CSV 1 h2h://61:82/1950-12-03
3849 Greece 39 Israel 82 1953-11-01 2 2 0 0 4 1 1938-02-20 W     2026-06-07 07:03:18.466415 2026-06-07 07:03:18.466415 1   International Results CSV 1 h2h://39:82/1953-11-01
3854 Yugoslavia 40 Israel 82 1953-11-08 2 2 0 0 11 2 1949-09-18 W     2026-06-07 07:03:18.466461 2026-06-07 07:03:18.466461 1   International Results CSV 1 h2h://40:82/1953-11-08
3882 Greece 39 Israel 82 1954-03-08 3 3 0 0 5 1 1953-11-01 L     2026-06-07 07:03:18.466690 2026-06-07 07:03:18.466690 1   International Results CSV 1 h2h://82:39/1954-03-08
3889 Yugoslavia 40 Israel 82 1954-03-21 3 3 0 0 12 2 1953-11-08 L     2026-06-07 07:03:18.466745 2026-06-07 07:03:18.466745 1   International Results CSV 1 h2h://82:40/1954-03-21
3906 South Africa 21 Israel 82 1954-05-01 0 0 0 0 0 0         2026-06-07 07:03:18.466925 2026-06-07 07:03:18.466925 1   International Results CSV 1 h2h://21:82/1954-05-01
4609 Wales 3 Israel 82 1958-01-15 0 0 0 0 0 0         2026-06-07 07:03:18.473209 2026-06-07 07:03:18.473209 1   International Results CSV 1 h2h://82:3/1958-01-15
4612 Wales 3 Israel 82 1958-02-05 1 1 0 0 2 0 1958-01-15 W     2026-06-07 07:03:18.473230 2026-06-07 07:03:18.473230 1   International Results CSV 1 h2h://3:82/1958-02-05
4880 Poland 49 Israel 82 1959-06-21 0 0 0 0 0 0         2026-06-07 07:03:18.475592 2026-06-07 07:03:18.475592 1   International Results CSV 1 h2h://49:82/1959-06-21
4950 Poland 49 Israel 82 1959-11-29 1 1 0 0 7 2 1959-06-21 L     2026-06-07 07:03:18.476265 2026-06-07 07:03:18.476265 1   International Results CSV 1 h2h://82:49/1959-11-29
5353 Italy 26 Israel 82 1961-10-15 0 0 0 0 0 0         2026-06-07 07:03:18.943680 2026-06-07 07:03:18.943680 1   International Results CSV 1 h2h://82:26/1961-10-15
5373 Italy 26 Israel 82 1961-11-04 1 1 0 0 4 2 1961-10-15 W     2026-06-07 07:03:18.947474 2026-06-07 07:03:18.947475 1   International Results CSV 1 h2h://26:82/1961-11-04
5411 Yugoslavia 40 Israel 82 1961-12-14 4 4 0 0 13 2 1954-03-21 L     2026-06-07 07:03:18.954738 2026-06-07 07:03:18.954738 1   International Results CSV 1 h2h://82:40/1961-12-14
5486 Turkey 61 Israel 82 1962-05-16 2 1 1 0 4 7 1950-12-03 W     2026-06-07 07:03:18.968954 2026-06-07 07:03:18.968955 1   International Results CSV 1 h2h://61:82/1962-05-16
5620 Austria 9 Israel 82 1962-10-17 0 0 0 0 0 0         2026-06-07 07:03:18.995392 2026-06-07 07:03:18.995393 1   International Results CSV 1 h2h://82:9/1962-10-17
5659 Turkey 61 Israel 82 1962-11-25 3 2 1 0 5 7 1962-05-16 L     2026-06-07 07:03:19.002895 2026-06-07 07:03:19.002896 1   International Results CSV 1 h2h://82:61/1962-11-25
5841 Brazil 34 Israel 82 1963-05-19 0 0 0 0 0 0         2026-06-07 07:03:19.037570 2026-06-07 07:03:19.037570 1   International Results CSV 1 h2h://82:34/1963-05-19
6152 Yugoslavia 40 Israel 82 1964-10-28 5 5 0 0 15 2 1961-12-14 L     2026-06-07 07:03:19.097026 2026-06-07 07:03:19.097026 1   International Results CSV 1 h2h://82:40/1964-10-28
6176 Denmark 25 Israel 82 1964-12-01 0 0 0 0 0 0         2026-06-07 07:03:19.101582 2026-06-07 07:03:19.101582 1   International Results CSV 1 h2h://82:25/1964-12-01
6192 Netherlands 18 Israel 82 1965-01-26 0 0 0 0 0 0         2026-06-07 07:03:19.104606 2026-06-07 07:03:19.104606 1   International Results CSV 1 h2h://82:18/1965-01-26
6224 Switzerland 14 Israel 82 1965-03-17 0 0 0 0 0 0         2026-06-07 07:03:19.110647 2026-06-07 07:03:19.110647 1   International Results CSV 1 h2h://82:14/1965-03-17
6291 Belgium 12 Israel 82 1965-05-09 0 0 0 0 0 0         2026-06-07 07:03:19.123301 2026-06-07 07:03:19.123302 1   International Results CSV 1 h2h://12:82/1965-05-09
6328 Bulgaria 64 Israel 82 1965-06-13 0 0 0 0 0 0         2026-06-07 07:03:19.130333 2026-06-07 07:03:19.130333 1   International Results CSV 1 h2h://64:82/1965-06-13
6492 Belgium 12 Israel 82 1965-11-10 1 1 0 0 1 0 1965-05-09 L     2026-06-07 07:03:19.161352 2026-06-07 07:03:19.161353 1   International Results CSV 1 h2h://82:12/1965-11-10
6507 Bulgaria 64 Israel 82 1965-11-21 1 1 0 0 4 0 1965-06-13 L     2026-06-07 07:03:19.164174 2026-06-07 07:03:19.164174 1   International Results CSV 1 h2h://82:64/1965-11-21
6583 Finland 29 Israel 82 1966-04-06 0 0 0 0 0 0         2026-06-07 07:03:19.178548 2026-06-07 07:03:19.178548 1   International Results CSV 1 h2h://82:29/1966-04-06
6609 Finland 29 Israel 82 1966-05-08 1 0 1 0 1 7 1966-04-06 L     2026-06-07 07:03:19.183482 2026-06-07 07:03:19.183482 1   International Results CSV 1 h2h://29:82/1966-05-08
6651 Uruguay 7 Israel 82 1966-06-15 0 0 0 0 0 0         2026-06-07 07:03:19.191590 2026-06-07 07:03:19.191590 1   International Results CSV 1 h2h://82:7/1966-06-15
6785 Yugoslavia 40 Israel 82 1966-10-12 6 5 1 0 15 4 1964-10-28 W     2026-06-07 07:03:19.216923 2026-06-07 07:03:19.216924 1   International Results CSV 1 h2h://82:40/1966-10-12
6798 Denmark 25 Israel 82 1966-10-26 1 1 0 0 1 0 1964-12-01 W     2026-06-07 07:03:19.219427 2026-06-07 07:03:19.219427 1   International Results CSV 1 h2h://25:82/1966-10-26
6851 Poland 49 Israel 82 1966-12-03 2 1 0 1 8 3 1959-11-29 D     2026-06-07 07:03:19.229507 2026-06-07 07:03:19.229508 1   International Results CSV 1 h2h://82:49/1966-12-03
6854 Romania 38 Israel 82 1966-12-07 0 0 0 0 0 0         2026-06-07 07:03:19.230061 2026-06-07 07:03:19.230061 1   International Results CSV 1 h2h://82:38/1966-12-07
7033 Scotland 1 Israel 82 1967-05-16 0 0 0 0 0 0         2026-06-07 07:03:19.263950 2026-06-07 07:03:19.263951 1   International Results CSV 1 h2h://82:1/1967-05-16
7267 Belgium 12 Israel 82 1968-01-10 2 2 0 0 6 0 1965-11-10 L     2026-06-07 07:03:19.308302 2026-06-07 07:03:19.308302 1   International Results CSV 1 h2h://82:12/1968-01-10
7285 Switzerland 14 Israel 82 1968-02-14 1 0 0 1 0 0 1965-03-17 D     2026-06-07 07:03:19.311681 2026-06-07 07:03:19.311681 1   International Results CSV 1 h2h://82:14/1968-02-14
7287 Sweden 23 Israel 82 1968-02-19 0 0 0 0 0 0         2026-06-07 07:03:19.312051 2026-06-07 07:03:19.312051 1   International Results CSV 1 h2h://82:23/1968-02-19
7437 Northern Ireland 4 Israel 82 1968-09-10 0 0 0 0 0 0         2026-06-07 07:03:19.340543 2026-06-07 07:03:19.340543 1   International Results CSV 1 h2h://82:4/1968-09-10
7441 United States 5 Israel 82 1968-09-15 1 1 0 0 3 1 1948-09-26 W     2026-06-07 07:03:19.341328 2026-06-07 07:03:19.341329 1   International Results CSV 1 h2h://5:82/1968-09-15
7448 United States 5 Israel 82 1968-09-25 2 1 0 1 6 4 1968-09-15 D     2026-06-07 07:03:19.342653 2026-06-07 07:03:19.342654 1   International Results CSV 1 h2h://5:82/1968-09-25
7619 Greece 39 Israel 82 1969-03-12 4 4 0 0 7 1 1954-03-08 L     2026-06-07 07:03:19.375140 2026-06-07 07:03:19.375140 1   International Results CSV 1 h2h://82:39/1969-03-12
7643 Austria 9 Israel 82 1969-04-23 1 0 0 1 1 1 1962-10-17 D     2026-06-07 07:03:19.379665 2026-06-07 07:03:19.379665 1   International Results CSV 1 h2h://82:9/1969-04-23
7774 Sweden 23 Israel 82 1969-08-25 1 1 0 0 3 0 1968-02-19 W     2026-06-07 07:03:19.404762 2026-06-07 07:03:19.404762 1   International Results CSV 1 h2h://23:82/1969-08-25
7807 New Zealand 52 Israel 82 1969-09-28 0 0 0 0 0 0         2026-06-07 07:03:19.411112 2026-06-07 07:03:19.411112 1   International Results CSV 1 h2h://82:52/1969-09-28
7810 New Zealand 52 Israel 82 1969-10-01 1 0 1 0 0 4 1969-09-28 W     2026-06-07 07:03:19.411706 2026-06-07 07:03:19.411707 1   International Results CSV 1 h2h://82:52/1969-10-01
7932 Australia 53 Israel 82 1969-12-04 0 0 0 0 0 0         2026-06-07 07:03:19.435378 2026-06-07 07:03:19.435378 1   International Results CSV 1 h2h://82:53/1969-12-04
7949 Australia 53 Israel 82 1969-12-14 1 0 1 0 0 1 1969-12-04 L     2026-06-07 07:03:19.438706 2026-06-07 07:03:19.438707 1   International Results CSV 1 h2h://53:82/1969-12-14
7955 Netherlands 18 Israel 82 1970-01-28 1 1 0 0 1 0 1965-01-26 L     2026-06-07 07:03:19.439867 2026-06-07 07:03:19.439867 1   International Results CSV 1 h2h://82:18/1970-01-28
8053 Uruguay 7 Israel 82 1970-06-02 1 1 0 0 2 1 1966-06-15 L     2026-06-07 07:03:19.459313 2026-06-07 07:03:19.459313 1   International Results CSV 1 h2h://82:7/1970-06-02
8066 Sweden 23 Israel 82 1970-06-07 2 2 0 0 6 1 1969-08-25 L     2026-06-07 07:03:19.461908 2026-06-07 07:03:19.461908 1   International Results CSV 1 h2h://82:23/1970-06-07
8074 Italy 26 Israel 82 1970-06-11 2 2 0 0 10 2 1961-11-04 L     2026-06-07 07:03:19.463458 2026-06-07 07:03:19.463458 1   International Results CSV 1 h2h://82:26/1970-06-11
8620 Australia 53 Israel 82 1971-11-11 2 0 1 1 1 2 1969-12-14 D     2026-06-07 07:03:19.571358 2026-06-07 07:03:19.571358 1   International Results CSV 1 h2h://53:82/1971-11-11
8624 Australia 53 Israel 82 1971-11-14 3 0 1 2 3 4 1971-11-11 D     2026-06-07 07:03:19.572143 2026-06-07 07:03:19.572143 1   International Results CSV 1 h2h://53:82/1971-11-14
8637 Australia 53 Israel 82 1971-11-21 4 1 1 2 4 4 1971-11-14 W     2026-06-07 07:03:19.574697 2026-06-07 07:03:19.574698 1   International Results CSV 1 h2h://53:82/1971-11-21
8750 Norway 24 Israel 82 1972-02-23 0 0 0 0 0 0         2026-06-07 07:03:19.596743 2026-06-07 07:03:19.596744 1   International Results CSV 1 h2h://82:24/1972-02-23
9180 Argentina 8 Israel 82 1973-02-20 0 0 0 0 0 0         2026-06-07 07:03:19.681590 2026-06-07 07:03:19.681590 1   International Results CSV 1 h2h://82:8/1973-02-20
9284 Japan 36 Israel 82 1973-05-16 0 0 0 0 0 0         2026-06-07 07:03:19.702281 2026-06-07 07:03:19.702281 1   International Results CSV 1 h2h://82:36/1973-05-16
9305 Japan 36 Israel 82 1973-05-26 1 0 1 0 1 2 1973-05-16 W     2026-06-07 07:03:19.706525 2026-06-07 07:03:19.706525 1   International Results CSV 1 h2h://82:36/1973-05-26
9371 Uruguay 7 Israel 82 1973-07-19 2 2 0 0 4 1 1970-06-02 L     2026-06-07 07:03:19.719971 2026-06-07 07:03:19.719971 1   International Results CSV 1 h2h://82:7/1973-07-19
9553 United States 5 Israel 82 1973-11-13 3 1 1 1 6 8 1968-09-25 W     2026-06-07 07:03:19.755923 2026-06-07 07:03:19.755923 1   International Results CSV 1 h2h://82:5/1973-11-13
9557 United States 5 Israel 82 1973-11-15 4 1 2 1 7 11 1973-11-13 W     2026-06-07 07:03:19.756716 2026-06-07 07:03:19.756716 1   International Results CSV 1 h2h://82:5/1973-11-15
9737 Australia 53 Israel 82 1974-05-28 5 1 2 2 5 7 1971-11-21 W     2026-06-07 07:03:19.792293 2026-06-07 07:03:19.792293 1   International Results CSV 1 h2h://82:53/1974-05-28
9845 Philippines 32 Israel 82 1974-09-05 0 0 0 0 0 0         2026-06-07 07:03:19.813620 2026-06-07 07:03:19.813621 1   International Results CSV 1 h2h://82:32/1974-09-05
9855 Japan 36 Israel 82 1974-09-07 2 0 2 0 1 3 1973-05-26 L     2026-06-07 07:03:19.815561 2026-06-07 07:03:19.815562 1   International Results CSV 1 h2h://36:82/1974-09-07
9958 Romania 38 Israel 82 1974-12-04 1 1 0 0 2 1 1966-12-07 L     2026-06-07 07:03:19.835887 2026-06-07 07:03:19.835888 1   International Results CSV 1 h2h://82:38/1974-12-04
10318 Mexico 57 Israel 82 1975-10-20 0 0 0 0 0 0         2026-06-07 07:03:20.213823 2026-06-07 07:03:20.213823 1   International Results CSV 1 h2h://82:57/1975-10-20
10405 Denmark 25 Israel 82 1976-02-04 2 2 0 0 4 1 1966-10-26 L     2026-06-07 07:03:20.230399 2026-06-07 07:03:20.230399 1   International Results CSV 1 h2h://82:25/1976-02-04
10434 Northern Ireland 4 Israel 82 1976-03-03 1 1 0 0 3 2 1968-09-10 L     2026-06-07 07:03:20.235989 2026-06-07 07:03:20.235990 1   International Results CSV 1 h2h://82:4/1976-03-03
10665 Greece 39 Israel 82 1976-09-22 5 4 0 1 10 4 1969-03-12 D     2026-06-07 07:03:20.280351 2026-06-07 07:03:20.280351 1   International Results CSV 1 h2h://39:82/1976-09-22
10726 Australia 53 Israel 82 1976-11-03 6 1 3 2 6 9 1974-05-28 W     2026-06-07 07:03:20.291969 2026-06-07 07:03:20.291969 1   International Results CSV 1 h2h://82:53/1976-11-03
10776 Austria 9 Israel 82 1976-12-15 2 0 0 2 2 2 1969-04-23 D     2026-06-07 07:03:20.301477 2026-06-07 07:03:20.301478 1   International Results CSV 1 h2h://82:9/1976-12-15
10806 Greece 39 Israel 82 1977-01-26 6 4 1 1 10 5 1976-09-22 W     2026-06-07 07:03:20.307170 2026-06-07 07:03:20.307171 1   International Results CSV 1 h2h://82:39/1977-01-26
10830 Australia 53 Israel 82 1977-02-12 7 1 3 3 7 10 1976-11-03 D     2026-06-07 07:03:20.311748 2026-06-07 07:03:20.311749 1   International Results CSV 1 h2h://53:82/1977-02-12
10837 Australia 53 Israel 82 1977-02-16 8 1 3 4 8 11 1977-02-12 D     2026-06-07 07:03:20.313081 2026-06-07 07:03:20.313081 1   International Results CSV 1 h2h://53:82/1977-02-16
10870 Japan 36 Israel 82 1977-03-06 3 0 3 0 1 6 1974-09-07 W     2026-06-07 07:03:20.319368 2026-06-07 07:03:20.319368 1   International Results CSV 1 h2h://82:36/1977-03-06
10882 Japan 36 Israel 82 1977-03-10 4 0 4 0 1 8 1977-03-06 W     2026-06-07 07:03:20.321644 2026-06-07 07:03:20.321644 1   International Results CSV 1 h2h://82:36/1977-03-10
11254 Denmark 25 Israel 82 1978-02-08 3 3 0 0 5 1 1976-02-04 L     2026-06-07 07:03:20.393846 2026-06-07 07:03:20.393847 1   International Results CSV 1 h2h://82:25/1978-02-08
11263 Netherlands 18 Israel 82 1978-02-22 2 2 0 0 2 0 1970-01-28 L     2026-06-07 07:03:20.395621 2026-06-07 07:03:20.395621 1   International Results CSV 1 h2h://82:18/1978-02-22
11568 Belgium 12 Israel 82 1978-11-15 3 3 0 0 8 0 1968-01-10 L     2026-06-07 07:03:20.456093 2026-06-07 07:03:20.456093 1   International Results CSV 1 h2h://82:12/1978-11-15
11620 Romania 38 Israel 82 1978-12-19 2 2 0 0 3 1 1974-12-04 L     2026-06-07 07:03:20.466356 2026-06-07 07:03:20.466357 1   International Results CSV 1 h2h://82:38/1978-12-19
11654 Austria 9 Israel 82 1979-01-30 3 1 0 2 5 3 1976-12-15 L     2026-06-07 07:03:20.473045 2026-06-07 07:03:20.473045 1   International Results CSV 1 h2h://82:9/1979-01-30
11666 Greece 39 Israel 82 1979-02-14 7 4 1 2 11 6 1977-01-26 D     2026-06-07 07:03:20.475425 2026-06-07 07:03:20.475425 1   International Results CSV 1 h2h://82:39/1979-02-14
12163 Northern Ireland 4 Israel 82 1980-03-26 2 1 0 1 4 3 1976-03-03 D     2026-06-07 07:03:20.573942 2026-06-07 07:03:20.573942 1   International Results CSV 1 h2h://82:4/1980-03-26
12268 Sweden 23 Israel 82 1980-06-18 3 2 0 1 7 2 1970-06-07 D     2026-06-07 07:03:20.594846 2026-06-07 07:03:20.594846 1   International Results CSV 1 h2h://23:82/1980-06-18
12490 Sweden 23 Israel 82 1980-11-12 4 2 0 2 8 3 1980-06-18 D     2026-06-07 07:03:20.638804 2026-06-07 07:03:20.638804 1   International Results CSV 1 h2h://82:23/1980-11-12
12537 Australia 53 Israel 82 1980-12-02 9 1 3 5 9 12 1977-02-16 D     2026-06-07 07:03:20.648114 2026-06-07 07:03:20.648114 1   International Results CSV 1 h2h://82:53/1980-12-02
12565 Portugal 50 Israel 82 1980-12-17 0 0 0 0 0 0         2026-06-07 07:03:20.653622 2026-06-07 07:03:20.653622 1   International Results CSV 1 h2h://50:82/1980-12-17
12636 Scotland 1 Israel 82 1981-02-25 1 1 0 0 2 1 1967-05-16 L     2026-06-07 07:03:20.667558 2026-06-07 07:03:20.667558 1   International Results CSV 1 h2h://82:1/1981-02-25
12688 Romania 38 Israel 82 1981-04-08 3 2 0 1 4 2 1978-12-19 D     2026-06-07 07:03:20.677951 2026-06-07 07:03:20.677952 1   International Results CSV 1 h2h://82:38/1981-04-08
12729 Scotland 1 Israel 82 1981-04-28 2 2 0 0 3 1 1981-02-25 W     2026-06-07 07:03:20.686100 2026-06-07 07:03:20.686100 1   International Results CSV 1 h2h://1:82/1981-04-28
12997 Portugal 50 Israel 82 1981-10-28 1 1 0 0 3 0 1980-12-17 L     2026-06-07 07:03:20.739708 2026-06-07 07:03:20.739708 1   International Results CSV 1 h2h://82:50/1981-10-28
13046 Northern Ireland 4 Israel 82 1981-11-18 3 1 0 2 4 3 1980-03-26 D     2026-06-07 07:03:20.749451 2026-06-07 07:03:20.749451 1   International Results CSV 1 h2h://4:82/1981-11-18
13857 Uruguay 7 Israel 82 1983-09-26 3 3 0 0 6 2 1973-07-19 L     2026-06-07 07:03:20.910357 2026-06-07 07:03:20.910357 1   International Results CSV 1 h2h://82:7/1983-09-26

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