home / football

h2h_record

762 rows where team_a_id = 5

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: wins_a, draws, 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
42 United States 5 Canada 6 1885-11-28 0 0 0 0 0 0         2026-06-07 07:03:18.431799 2026-06-07 07:03:18.431799 1   International Results CSV 1 h2h://5:6/1885-11-28
49 United States 5 Canada 6 1886-11-25 1 0 1 0 0 1 1885-11-28 L     2026-06-07 07:03:18.431858 2026-06-07 07:03:18.431858 1   International Results CSV 1 h2h://5:6/1886-11-25
491 United States 5 Sweden 23 1916-08-20 0 0 0 0 0 0         2026-06-07 07:03:18.436163 2026-06-07 07:03:18.436163 1   International Results CSV 1 h2h://23:5/1916-08-20
492 United States 5 Norway 24 1916-09-03 0 0 0 0 0 0         2026-06-07 07:03:18.436170 2026-06-07 07:03:18.436170 1   International Results CSV 1 h2h://24:5/1916-09-03
569 United States 5 Canada 6 1919-06-25 2 1 1 0 3 3 1886-11-25 W     2026-06-07 07:03:18.436862 2026-06-07 07:03:18.436862 1   International Results CSV 1 h2h://5:6/1919-06-25
572 United States 5 Czechoslovakia 11 1919-06-26 0 0 0 0 0 0         2026-06-07 07:03:18.436879 2026-06-07 07:03:18.436879 1   International Results CSV 1 h2h://11:5/1919-06-26
577 United States 5 Belgium 12 1919-06-28 0 0 0 0 0 0         2026-06-07 07:03:18.436912 2026-06-07 07:03:18.436912 1   International Results CSV 1 h2h://12:5/1919-06-28
908 United States 5 Estonia 43 1924-05-25 0 0 0 0 0 0         2026-06-07 07:03:18.439819 2026-06-07 07:03:18.439819 1   International Results CSV 1 h2h://5:43/1924-05-25
919 United States 5 Uruguay 7 1924-05-29 0 0 0 0 0 0         2026-06-07 07:03:18.439890 2026-06-07 07:03:18.439890 1   International Results CSV 1 h2h://7:5/1924-05-29
932 United States 5 Poland 49 1924-06-10 0 0 0 0 0 0         2026-06-07 07:03:18.439980 2026-06-07 07:03:18.439980 1   International Results CSV 1 h2h://49:5/1924-06-10
1024 United States 5 Canada 6 1925-06-27 3 2 1 0 8 7 1919-06-25 L     2026-06-07 07:03:18.440751 2026-06-07 07:03:18.440751 1   International Results CSV 1 h2h://6:5/1925-06-27
1059 United States 5 Canada 6 1925-11-08 4 2 2 0 8 8 1925-06-27 L     2026-06-07 07:03:18.441050 2026-06-07 07:03:18.441050 1   International Results CSV 1 h2h://5:6/1925-11-08
1150 United States 5 Canada 6 1926-11-06 5 3 2 0 14 9 1925-11-08 W     2026-06-07 07:03:18.441818 2026-06-07 07:03:18.441818 1   International Results CSV 1 h2h://5:6/1926-11-06
1279 United States 5 Argentina 8 1928-05-29 0 0 0 0 0 0         2026-06-07 07:03:18.442949 2026-06-07 07:03:18.442949 1   International Results CSV 1 h2h://8:5/1928-05-29
1295 United States 5 Poland 49 1928-06-10 1 1 0 0 3 2 1924-06-10 L     2026-06-07 07:03:18.443071 2026-06-07 07:03:18.443071 1   International Results CSV 1 h2h://49:5/1928-06-10
1485 United States 5 Belgium 12 1930-07-13 1 0 1 0 0 7 1919-06-28 W     2026-06-07 07:03:18.444775 2026-06-07 07:03:18.444775 1   International Results CSV 1 h2h://12:5/1930-07-13
1492 United States 5 Paraguay 37 1930-07-17 0 0 0 0 0 0         2026-06-07 07:03:18.444829 2026-06-07 07:03:18.444829 1   International Results CSV 1 h2h://37:5/1930-07-17
1502 United States 5 Argentina 8 1930-07-26 1 0 1 0 2 11 1928-05-29 W     2026-06-07 07:03:18.444907 2026-06-07 07:03:18.444907 1   International Results CSV 1 h2h://8:5/1930-07-26
1512 United States 5 Brazil 34 1930-08-17 0 0 0 0 0 0         2026-06-07 07:03:18.444997 2026-06-07 07:03:18.444998 1   International Results CSV 1 h2h://34:5/1930-08-17
1871 United States 5 Mexico 57 1934-05-24 0 0 0 0 0 0         2026-06-07 07:03:18.448279 2026-06-07 07:03:18.448279 1   International Results CSV 1 h2h://57:5/1934-05-24
1878 United States 5 Italy 26 1934-05-27 0 0 0 0 0 0         2026-06-07 07:03:18.448328 2026-06-07 07:03:18.448328 1   International Results CSV 1 h2h://26:5/1934-05-27
2220 United States 5 Mexico 57 1937-09-12 1 1 0 0 4 2 1934-05-24 L     2026-06-07 07:03:18.451456 2026-06-07 07:03:18.451456 1   International Results CSV 1 h2h://57:5/1937-09-12
2225 United States 5 Mexico 57 1937-09-19 2 1 1 0 6 9 1937-09-12 W     2026-06-07 07:03:18.451499 2026-06-07 07:03:18.451499 1   International Results CSV 1 h2h://57:5/1937-09-19
2969 United States 5 Mexico 57 1947-07-13 3 1 2 0 9 16 1937-09-19 W     2026-06-07 07:03:18.458740 2026-06-07 07:03:18.458740 1   International Results CSV 1 h2h://57:5/1947-07-13
2973 United States 5 Cuba 77 1947-07-20 0 0 0 0 0 0         2026-06-07 07:03:18.458771 2026-06-07 07:03:18.458771 1   International Results CSV 1 h2h://77:5/1947-07-20
3124 United States 5 Norway 24 1948-08-06 1 0 0 1 1 1 1916-09-03 D     2026-06-07 07:03:18.460101 2026-06-07 07:03:18.460101 1   International Results CSV 1 h2h://24:5/1948-08-06
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
3279 United States 5 Mexico 57 1949-09-04 4 1 3 0 9 21 1947-07-13 W     2026-06-07 07:03:18.461432 2026-06-07 07:03:18.461432 1   International Results CSV 1 h2h://57:5/1949-09-04
3284 United States 5 Cuba 77 1949-09-14 1 0 1 0 2 5 1947-07-20 W     2026-06-07 07:03:18.461475 2026-06-07 07:03:18.461475 1   International Results CSV 1 h2h://77:5/1949-09-14
3287 United States 5 Mexico 57 1949-09-18 5 1 4 0 9 27 1949-09-04 W     2026-06-07 07:03:18.461497 2026-06-07 07:03:18.461497 1   International Results CSV 1 h2h://57:5/1949-09-18
3289 United States 5 Cuba 77 1949-09-21 2 0 1 1 3 6 1949-09-14 D     2026-06-07 07:03:18.461511 2026-06-07 07:03:18.461512 1   International Results CSV 1 h2h://5:77/1949-09-21
3391 United States 5 Spain 41 1950-06-25 0 0 0 0 0 0         2026-06-07 07:03:18.462461 2026-06-07 07:03:18.462461 1   International Results CSV 1 h2h://41:5/1950-06-25
3401 United States 5 Chile 27 1950-07-02 0 0 0 0 0 0         2026-06-07 07:03:18.462530 2026-06-07 07:03:18.462531 1   International Results CSV 1 h2h://27:5/1950-07-02
3872 United States 5 Mexico 57 1954-01-10 6 1 5 0 11 33 1949-09-18 W     2026-06-07 07:03:18.466612 2026-06-07 07:03:18.466612 1   International Results CSV 1 h2h://57:5/1954-01-10
3873 United States 5 Mexico 57 1954-01-14 7 1 6 0 11 37 1954-01-10 W     2026-06-07 07:03:18.466620 2026-06-07 07:03:18.466620 1   International Results CSV 1 h2h://57:5/1954-01-14
3895 United States 5 Haiti 66 1954-04-03 0 0 0 0 0 0         2026-06-07 07:03:18.466801 2026-06-07 07:03:18.466802 1   International Results CSV 1 h2h://66:5/1954-04-03
3898 United States 5 Haiti 66 1954-04-04 1 1 0 0 3 2 1954-04-03 L     2026-06-07 07:03:18.466843 2026-06-07 07:03:18.466843 1   International Results CSV 1 h2h://66:5/1954-04-04
4126 United States 5 Iceland 104 1955-08-25 0 0 0 0 0 0         2026-06-07 07:03:18.468863 2026-06-07 07:03:18.468863 1   International Results CSV 1 h2h://104:5/1955-08-25
4358 United States 5 South Korea 114 1956-10-31 0 0 0 0 0 0         2026-06-07 07:03:18.470972 2026-06-07 07:03:18.470972 1   International Results CSV 1 h2h://114:5/1956-10-31
4362 United States 5 Philippines 32 1956-11-10 0 0 0 0 0 0         2026-06-07 07:03:18.471011 2026-06-07 07:03:18.471011 1   International Results CSV 1 h2h://32:5/1956-11-10
4369 United States 5 Indonesia 83 1956-11-16 0 0 0 0 0 0         2026-06-07 07:03:18.471095 2026-06-07 07:03:18.471095 1   International Results CSV 1 h2h://83:5/1956-11-16
4433 United States 5 Mexico 57 1957-04-07 8 1 7 0 12 40 1954-01-14 W     2026-06-07 07:03:18.471648 2026-06-07 07:03:18.471648 1   International Results CSV 1 h2h://57:5/1957-04-07
4443 United States 5 Mexico 57 1957-04-28 9 1 8 0 12 46 1957-04-07 L     2026-06-07 07:03:18.471749 2026-06-07 07:03:18.471749 1   International Results CSV 1 h2h://5:57/1957-04-28
4490 United States 5 Canada 6 1957-06-22 6 4 2 0 20 11 1926-11-06 L     2026-06-07 07:03:18.472166 2026-06-07 07:03:18.472166 1   International Results CSV 1 h2h://6:5/1957-06-22
4501 United States 5 Canada 6 1957-07-06 7 4 3 0 21 16 1957-06-22 L     2026-06-07 07:03:18.472260 2026-06-07 07:03:18.472260 1   International Results CSV 1 h2h://5:6/1957-07-06
5176 United States 5 Mexico 57 1960-11-03 10 1 9 0 14 53 1957-04-28 L     2026-06-07 07:03:18.909993 2026-06-07 07:03:18.909993 1   International Results CSV 1 h2h://5:57/1960-11-03
5179 United States 5 Mexico 57 1960-11-06 11 1 9 1 17 56 1960-11-03 D     2026-06-07 07:03:18.910565 2026-06-07 07:03:18.910565 1   International Results CSV 1 h2h://57:5/1960-11-06
5210 United States 5 Colombia 86 1961-02-05 0 0 0 0 0 0         2026-06-07 07:03:18.916457 2026-06-07 07:03:18.916457 1   International Results CSV 1 h2h://86:5/1961-02-05
6209 United States 5 Mexico 57 1965-03-07 12 1 10 1 17 59 1960-11-06 L     2026-06-07 07:03:19.107819 2026-06-07 07:03:19.107819 1   International Results CSV 1 h2h://5:57/1965-03-07
6215 United States 5 Mexico 57 1965-03-12 13 1 10 2 19 61 1965-03-07 D     2026-06-07 07:03:19.108952 2026-06-07 07:03:19.108953 1   International Results CSV 1 h2h://57:5/1965-03-12
6223 United States 5 Honduras 72 1965-03-17 0 0 0 0 0 0         2026-06-07 07:03:19.110462 2026-06-07 07:03:19.110463 1   International Results CSV 1 h2h://72:5/1965-03-17
6230 United States 5 Honduras 72 1965-03-21 1 1 0 0 1 0 1965-03-17 L     2026-06-07 07:03:19.111772 2026-06-07 07:03:19.111773 1   International Results CSV 1 h2h://72:5/1965-03-21
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
7469 United States 5 Canada 6 1968-10-13 8 4 4 0 23 19 1957-07-06 W     2026-06-07 07:03:19.346647 2026-06-07 07:03:19.346648 1   International Results CSV 1 h2h://6:5/1968-10-13
7478 United States 5 Haiti 66 1968-10-20 2 2 0 0 6 2 1954-04-04 L     2026-06-07 07:03:19.348378 2026-06-07 07:03:19.348378 1   International Results CSV 1 h2h://66:5/1968-10-20
7481 United States 5 Haiti 66 1968-10-21 3 3 0 0 12 5 1968-10-20 L     2026-06-07 07:03:19.348938 2026-06-07 07:03:19.348938 1   International Results CSV 1 h2h://66:5/1968-10-21
7484 United States 5 Haiti 66 1968-10-23 4 3 1 0 14 10 1968-10-21 W     2026-06-07 07:03:19.349507 2026-06-07 07:03:19.349508 1   International Results CSV 1 h2h://66:5/1968-10-23
7489 United States 5 Canada 6 1968-10-26 9 4 5 0 25 23 1968-10-13 L     2026-06-07 07:03:19.350443 2026-06-07 07:03:19.350444 1   International Results CSV 1 h2h://5:6/1968-10-26
7497 United States 5 Bermuda 180 1968-11-02 0 0 0 0 0 0         2026-06-07 07:03:19.351937 2026-06-07 07:03:19.351938 1   International Results CSV 1 h2h://5:180/1968-11-02
7505 United States 5 Bermuda 180 1968-11-11 1 1 0 0 6 2 1968-11-02 L     2026-06-07 07:03:19.353459 2026-06-07 07:03:19.353459 1   International Results CSV 1 h2h://180:5/1968-11-11
7640 United States 5 Haiti 66 1969-04-20 5 3 2 0 14 11 1968-10-23 W     2026-06-07 07:03:19.379105 2026-06-07 07:03:19.379105 1   International Results CSV 1 h2h://66:5/1969-04-20
7669 United States 5 Haiti 66 1969-05-11 6 3 3 0 14 13 1969-04-20 L     2026-06-07 07:03:19.384678 2026-06-07 07:03:19.384679 1   International Results CSV 1 h2h://5:66/1969-05-11
8977 United States 5 Canada 6 1972-08-20 10 5 5 0 26 23 1968-10-26 L     2026-06-07 07:03:19.641504 2026-06-07 07:03:19.641505 1   International Results CSV 1 h2h://6:5/1972-08-20
8979 United States 5 Canada 6 1972-08-29 11 5 6 0 28 26 1972-08-20 L     2026-06-07 07:03:19.641932 2026-06-07 07:03:19.641933 1   International Results CSV 1 h2h://5:6/1972-08-29
8983 United States 5 Mexico 57 1972-09-03 14 1 11 2 19 63 1965-03-12 W     2026-06-07 07:03:19.642720 2026-06-07 07:03:19.642720 1   International Results CSV 1 h2h://57:5/1972-09-03
8987 United States 5 Mexico 57 1972-09-10 15 1 12 2 20 66 1972-09-03 L     2026-06-07 07:03:19.643514 2026-06-07 07:03:19.643514 1   International Results CSV 1 h2h://5:57/1972-09-10
9205 United States 5 Bermuda 180 1973-03-17 2 2 0 0 8 2 1968-11-11 L     2026-06-07 07:03:19.686540 2026-06-07 07:03:19.686540 1   International Results CSV 1 h2h://180:5/1973-03-17
9208 United States 5 Poland 49 1973-03-20 2 1 0 1 6 5 1928-06-10 D     2026-06-07 07:03:19.687122 2026-06-07 07:03:19.687123 1   International Results CSV 1 h2h://49:5/1973-03-20
9396 United States 5 Poland 49 1973-08-03 3 1 1 1 6 9 1973-03-20 L     2026-06-07 07:03:19.724889 2026-06-07 07:03:19.724889 1   International Results CSV 1 h2h://5:49/1973-08-03
9403 United States 5 Canada 6 1973-08-05 12 5 6 1 30 28 1972-08-29 D     2026-06-07 07:03:19.726300 2026-06-07 07:03:19.726301 1   International Results CSV 1 h2h://6:5/1973-08-05
9417 United States 5 Poland 49 1973-08-10 4 1 2 1 6 10 1973-08-03 L     2026-06-07 07:03:19.729068 2026-06-07 07:03:19.729068 1   International Results CSV 1 h2h://5:49/1973-08-10
9425 United States 5 Poland 49 1973-08-12 5 1 3 1 6 14 1973-08-10 L     2026-06-07 07:03:19.730628 2026-06-07 07:03:19.730629 1   International Results CSV 1 h2h://5:49/1973-08-12
9473 United States 5 Bermuda 180 1973-09-09 3 2 1 0 8 6 1973-03-17 L     2026-06-07 07:03:19.740034 2026-06-07 07:03:19.740035 1   International Results CSV 1 h2h://5:180/1973-09-09
9519 United States 5 Mexico 57 1973-10-16 16 1 13 2 21 68 1972-09-10 W     2026-06-07 07:03:19.749201 2026-06-07 07:03:19.749201 1   International Results CSV 1 h2h://57:5/1973-10-16
9534 United States 5 Haiti 66 1973-11-03 7 3 4 0 14 14 1969-05-11 W     2026-06-07 07:03:19.752167 2026-06-07 07:03:19.752168 1   International Results CSV 1 h2h://66:5/1973-11-03
9539 United States 5 Haiti 66 1973-11-05 8 3 5 0 14 15 1973-11-03 W     2026-06-07 07:03:19.753150 2026-06-07 07:03:19.753150 1   International Results CSV 1 h2h://66:5/1973-11-05
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
9844 United States 5 Mexico 57 1974-09-05 17 1 14 2 21 70 1973-10-16 W     2026-06-07 07:03:19.813429 2026-06-07 07:03:19.813430 1   International Results CSV 1 h2h://57:5/1974-09-05
9859 United States 5 Mexico 57 1974-09-08 18 1 15 2 22 73 1974-09-05 L     2026-06-07 07:03:19.816346 2026-06-07 07:03:19.816346 1   International Results CSV 1 h2h://5:57/1974-09-08
10049 United States 5 Poland 49 1975-03-26 6 2 3 1 7 14 1973-08-12 L     2026-06-07 07:03:20.162179 2026-06-07 07:03:20.162179 1   International Results CSV 1 h2h://49:5/1975-03-26
10059 United States 5 Italy 26 1975-04-02 1 0 1 0 1 7 1934-05-27 W     2026-06-07 07:03:20.164123 2026-06-07 07:03:20.164123 1   International Results CSV 1 h2h://26:5/1975-04-02
10160 United States 5 Poland 49 1975-06-24 7 2 4 1 7 21 1975-03-26 L     2026-06-07 07:03:20.183546 2026-06-07 07:03:20.183547 1   International Results CSV 1 h2h://5:49/1975-06-24
10270 United States 5 Costa Rica 46 1975-08-19 0 0 0 0 0 0         2026-06-07 07:03:20.204640 2026-06-07 07:03:20.204640 1   International Results CSV 1 h2h://46:5/1975-08-19
10272 United States 5 Argentina 8 1975-08-21 2 0 2 0 3 17 1930-07-26 W     2026-06-07 07:03:20.205020 2026-06-07 07:03:20.205020 1   International Results CSV 1 h2h://8:5/1975-08-21
10274 United States 5 Mexico 57 1975-08-24 19 1 16 2 22 74 1974-09-08 W     2026-06-07 07:03:20.205420 2026-06-07 07:03:20.205421 1   International Results CSV 1 h2h://57:5/1975-08-24
10669 United States 5 Canada 6 1976-09-24 13 6 6 1 32 28 1973-08-05 L     2026-06-07 07:03:20.281112 2026-06-07 07:03:20.281113 1   International Results CSV 1 h2h://6:5/1976-09-24
10676 United States 5 Mexico 57 1976-10-03 20 1 17 2 22 76 1975-08-24 L     2026-06-07 07:03:20.282446 2026-06-07 07:03:20.282447 1   International Results CSV 1 h2h://5:57/1976-10-03
10699 United States 5 Mexico 57 1976-10-15 21 1 17 3 22 76 1976-10-03 D     2026-06-07 07:03:20.286849 2026-06-07 07:03:20.286849 1   International Results CSV 1 h2h://57:5/1976-10-15
10708 United States 5 Canada 6 1976-10-20 14 6 6 2 33 29 1976-09-24 D     2026-06-07 07:03:20.288567 2026-06-07 07:03:20.288567 1   International Results CSV 1 h2h://5:6/1976-10-20
10738 United States 5 Haiti 66 1976-11-10 9 3 6 0 14 16 1973-11-05 W     2026-06-07 07:03:20.294240 2026-06-07 07:03:20.294240 1   International Results CSV 1 h2h://66:5/1976-11-10
10741 United States 5 Haiti 66 1976-11-12 10 3 6 1 14 16 1976-11-10 D     2026-06-07 07:03:20.294795 2026-06-07 07:03:20.294796 1   International Results CSV 1 h2h://66:5/1976-11-12
10746 United States 5 Haiti 66 1976-11-14 11 3 6 2 14 16 1976-11-12 D     2026-06-07 07:03:20.295735 2026-06-07 07:03:20.295735 1   International Results CSV 1 h2h://66:5/1976-11-14
10783 United States 5 Canada 6 1976-12-22 15 7 6 2 35 29 1976-10-20 L     2026-06-07 07:03:20.302806 2026-06-07 07:03:20.302806 1   International Results CSV 1 h2h://6:5/1976-12-22
11095 United States 5 El Salvador 47 1977-09-15 0 0 0 0 0 0         2026-06-07 07:03:20.362261 2026-06-07 07:03:20.362261 1   International Results CSV 1 h2h://47:5/1977-09-15
11097 United States 5 Guatemala 48 1977-09-18 0 0 0 0 0 0         2026-06-07 07:03:20.362674 2026-06-07 07:03:20.362674 1   International Results CSV 1 h2h://48:5/1977-09-18
11112 United States 5 Guatemala 48 1977-09-25 1 0 1 0 1 3 1977-09-18 W     2026-06-07 07:03:20.365641 2026-06-07 07:03:20.365642 1   International Results CSV 1 h2h://48:5/1977-09-25
11116 United States 5 Mexico 57 1977-09-27 22 1 18 3 22 79 1976-10-15 W     2026-06-07 07:03:20.366440 2026-06-07 07:03:20.366441 1   International Results CSV 1 h2h://57:5/1977-09-27
11119 United States 5 El Salvador 47 1977-09-30 1 1 0 0 2 1 1977-09-15 W     2026-06-07 07:03:20.367024 2026-06-07 07:03:20.367024 1   International Results CSV 1 h2h://5:47/1977-09-30

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