home / football

h2h_record

430 rows where team_a_id = 786

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: total_matches, wins_a, wins_b, draws, goals_a, 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
53249 Empoli 786 Roma 796 1997-08-31 0 0 0 0 0 0         2026-06-11 10:24:41.236180 2026-06-11 10:24:41.236180     International Results CSV 1 h2h://786:796/1997-08-31
53301 Empoli 786 Napoli 794 1997-09-14 0 0 0 0 0 0         2026-06-11 10:24:41.236933 2026-06-11 10:24:41.236933     International Results CSV 1 h2h://794:786/1997-09-14
53333 Empoli 786 Lazio 790 1997-09-21 0 0 0 0 0 0         2026-06-11 10:24:41.237225 2026-06-11 10:24:41.237225     International Results CSV 1 h2h://786:790/1997-09-21
53376 Empoli 786 Fiorentina 787 1997-09-28 0 0 0 0 0 0         2026-06-11 10:24:41.237643 2026-06-11 10:24:41.237643     International Results CSV 1 h2h://787:786/1997-09-28
53409 Empoli 786 Milan 792 1997-10-05 0 0 0 0 0 0         2026-06-11 10:24:41.237998 2026-06-11 10:24:41.237999     International Results CSV 1 h2h://786:792/1997-10-05
53452 Empoli 786 Udinese 798 1997-10-18 0 0 0 0 0 0         2026-06-11 10:24:41.238715 2026-06-11 10:24:41.238715     International Results CSV 1 h2h://798:786/1997-10-18
53539 Empoli 786 Aris 911 1997-11-02 0 0 0 0 0 0         2026-06-11 10:24:41.239515 2026-06-11 10:24:41.239515     International Results CSV 1 h2h://786:911/1997-11-02
53575 Empoli 786 Parma 795 1997-11-09 0 0 0 0 0 0         2026-06-11 10:24:41.239839 2026-06-11 10:24:41.239839     International Results CSV 1 h2h://795:786/1997-11-09
53691 Empoli 786 Vicenza 1305 1997-11-30 0 0 0 0 0 0         2026-06-11 10:24:41.240924 2026-06-11 10:24:41.240924     International Results CSV 1 h2h://786:1305/1997-11-30
53729 Empoli 786 Brescia 1308 1997-12-07 0 0 0 0 0 0         2026-06-11 10:24:41.241330 2026-06-11 10:24:41.241330     International Results CSV 1 h2h://1308:786/1997-12-07
53756 Empoli 786 Sampdoria 803 1997-12-14 0 0 0 0 0 0         2026-06-11 10:24:41.241563 2026-06-11 10:24:41.241563     International Results CSV 1 h2h://786:803/1997-12-14
53844 Empoli 786 Lecce 791 1998-01-04 0 0 0 0 0 0         2026-06-11 10:24:41.242427 2026-06-11 10:24:41.242428     International Results CSV 1 h2h://791:786/1998-01-04
53913 Empoli 786 Vicenza 1305 1998-01-18 1 0 1 0 2 3 1997-11-30 W     2026-06-11 10:24:41.243046 2026-06-11 10:24:41.243047     International Results CSV 1 h2h://1305:786/1998-01-18
53932 Empoli 786 Inter 1304 1998-01-25 0 0 0 0 0 0         2026-06-11 10:24:41.243243 2026-06-11 10:24:41.243243     International Results CSV 1 h2h://786:1304/1998-01-25
53963 Empoli 786 Roma 796 1998-02-01 1 0 1 0 1 3 1997-08-31 W     2026-06-11 10:24:41.243607 2026-06-11 10:24:41.243608     International Results CSV 1 h2h://796:786/1998-02-01
53995 Empoli 786 Napoli 794 1998-02-08 1 0 1 0 1 2 1997-09-14 L     2026-06-11 10:24:41.243991 2026-06-11 10:24:41.243991     International Results CSV 1 h2h://786:794/1998-02-08
54013 Empoli 786 Lazio 790 1998-02-11 1 1 0 0 1 0 1997-09-21 L     2026-06-11 10:24:41.244216 2026-06-11 10:24:41.244216     International Results CSV 1 h2h://790:786/1998-02-11
54039 Empoli 786 Fiorentina 787 1998-02-15 1 1 0 0 2 1 1997-09-28 W     2026-06-11 10:24:41.244485 2026-06-11 10:24:41.244485     International Results CSV 1 h2h://786:787/1998-02-15
54068 Empoli 786 Milan 792 1998-02-22 1 0 1 0 0 1 1997-10-05 W     2026-06-11 10:24:41.244816 2026-06-11 10:24:41.244816     International Results CSV 1 h2h://792:786/1998-02-22
54107 Empoli 786 Udinese 798 1998-03-01 1 0 0 1 2 2 1997-10-18 D     2026-06-11 10:24:41.245198 2026-06-11 10:24:41.245198     International Results CSV 1 h2h://786:798/1998-03-01
54137 Empoli 786 Aris 911 1998-03-08 1 0 1 0 2 3 1997-11-02 W     2026-06-11 10:24:41.245526 2026-06-11 10:24:41.245526     International Results CSV 1 h2h://911:786/1998-03-08
54185 Empoli 786 Parma 795 1998-03-15 1 0 1 0 0 2 1997-11-09 L     2026-06-11 10:24:41.245947 2026-06-11 10:24:41.245947     International Results CSV 1 h2h://786:795/1998-03-15
54258 Empoli 786 Vicenza 1305 1998-03-29 2 0 2 0 2 4 1998-01-18 W     2026-06-11 10:24:41.246710 2026-06-11 10:24:41.246711     International Results CSV 1 h2h://1305:786/1998-03-29
54296 Empoli 786 Brescia 1308 1998-04-05 1 0 1 0 1 3 1997-12-07 L     2026-06-11 10:24:41.247055 2026-06-11 10:24:41.247055     International Results CSV 1 h2h://786:1308/1998-04-05
54310 Empoli 786 Sampdoria 803 1998-04-11 1 1 0 0 4 1 1997-12-14 L     2026-06-11 10:24:41.247178 2026-06-11 10:24:41.247178     International Results CSV 1 h2h://803:786/1998-04-11
54404 Empoli 786 Lecce 791 1998-04-26 1 0 0 1 2 2 1998-01-04 D     2026-06-11 10:24:41.866962 2026-06-11 10:24:41.866962     International Results CSV 1 h2h://786:791/1998-04-26
54507 Empoli 786 Vicenza 1305 1998-05-10 3 0 2 1 2 4 1998-03-29 D     2026-06-11 10:24:41.887471 2026-06-11 10:24:41.887471     International Results CSV 1 h2h://786:1305/1998-05-10
54524 Empoli 786 Inter 1304 1998-05-16 1 0 0 1 1 1 1998-01-25 D     2026-06-11 10:24:41.891753 2026-06-11 10:24:41.891753     International Results CSV 1 h2h://1304:786/1998-05-16
54655 Empoli 786 Fiorentina 787 1998-09-12 2 1 0 1 3 2 1998-02-15 D     2026-06-11 10:24:41.970252 2026-06-11 10:24:41.970252     International Results CSV 1 h2h://787:786/1998-09-12
54718 Empoli 786 Roma 796 1998-09-20 2 0 2 0 4 7 1998-02-01 L     2026-06-11 10:24:41.983538 2026-06-11 10:24:41.983538     International Results CSV 1 h2h://786:796/1998-09-20
54777 Empoli 786 Inter 1304 1998-09-27 2 0 1 1 2 5 1998-05-16 L     2026-06-11 10:24:41.996803 2026-06-11 10:24:41.996803     International Results CSV 1 h2h://786:1304/1998-09-27
54813 Empoli 786 Salernitana 802 1998-10-04 0 0 0 0 0 0         2026-06-11 10:24:42.007434 2026-06-11 10:24:42.007434     International Results CSV 1 h2h://802:786/1998-10-04
54908 Empoli 786 Sampdoria 803 1998-10-25 2 1 1 0 4 4 1998-04-11 W     2026-06-11 10:24:42.034666 2026-06-11 10:24:42.034667     International Results CSV 1 h2h://803:786/1998-10-25
54998 Empoli 786 Lazio 790 1998-11-08 2 1 1 0 2 3 1998-02-11 W     2026-06-11 10:24:42.053593 2026-06-11 10:24:42.053593     International Results CSV 1 h2h://790:786/1998-11-08
55168 Empoli 786 Vicenza 1305 1998-11-29 4 1 2 1 5 6 1998-05-10 W     2026-06-11 10:24:42.090728 2026-06-11 10:24:42.090729     International Results CSV 1 h2h://786:1305/1998-11-29
55212 Empoli 786 Vicenza 1305 1998-12-06 5 2 2 1 6 6 1998-11-29 L     2026-06-11 10:24:42.102781 2026-06-11 10:24:42.102782     International Results CSV 1 h2h://1305:786/1998-12-06
55247 Empoli 786 Aris 911 1998-12-13 2 0 2 0 2 5 1998-03-08 W     2026-06-11 10:24:42.113410 2026-06-11 10:24:42.113410     International Results CSV 1 h2h://911:786/1998-12-13
55308 Empoli 786 Parma 795 1998-12-20 2 1 1 0 2 2 1998-03-15 W     2026-06-11 10:24:42.125981 2026-06-11 10:24:42.125981     International Results CSV 1 h2h://786:795/1998-12-20
55377 Empoli 786 Milan 792 1999-01-10 2 0 2 0 1 4 1998-02-22 L     2026-06-11 10:24:42.140028 2026-06-11 10:24:42.140028     International Results CSV 1 h2h://786:792/1999-01-10
55417 Empoli 786 Udinese 798 1999-01-17 2 1 0 1 3 2 1998-03-01 L     2026-06-11 10:24:42.147943 2026-06-11 10:24:42.147943     International Results CSV 1 h2h://798:786/1999-01-17
55429 Empoli 786 Venezia 799 1999-01-20 0 0 0 0 0 0         2026-06-11 10:24:42.150614 2026-06-11 10:24:42.150615     International Results CSV 1 h2h://799:786/1999-01-20
55435 Empoli 786 Fiorentina 787 1999-01-24 3 1 1 1 3 4 1998-09-12 L     2026-06-11 10:24:42.154205 2026-06-11 10:24:42.154205     International Results CSV 1 h2h://786:787/1999-01-24
55478 Empoli 786 Roma 796 1999-01-31 3 0 2 1 4 7 1998-09-20 D     2026-06-11 10:24:42.162650 2026-06-11 10:24:42.162650     International Results CSV 1 h2h://796:786/1999-01-31
55523 Empoli 786 Inter 1304 1999-02-07 3 0 2 1 3 7 1998-09-27 W     2026-06-11 10:24:42.172800 2026-06-11 10:24:42.172800     International Results CSV 1 h2h://1304:786/1999-02-07
55541 Empoli 786 Salernitana 802 1999-02-14 1 0 0 1 1 1 1998-10-04 D     2026-06-11 10:24:42.179379 2026-06-11 10:24:42.179379     International Results CSV 1 h2h://786:802/1999-02-14
55630 Empoli 786 Sampdoria 803 1999-02-28 3 1 2 0 4 7 1998-10-25 L     2026-06-11 10:24:42.200362 2026-06-11 10:24:42.200362     International Results CSV 1 h2h://786:803/1999-02-28
55718 Empoli 786 Lazio 790 1999-03-14 3 1 2 0 3 7 1998-11-08 L     2026-06-11 10:24:42.220901 2026-06-11 10:24:42.220902     International Results CSV 1 h2h://786:790/1999-03-14
55864 Empoli 786 Vicenza 1305 1999-04-11 6 2 2 2 6 6 1998-12-06 D     2026-06-11 10:24:42.260363 2026-06-11 10:24:42.260364     International Results CSV 1 h2h://1305:786/1999-04-11
55920 Empoli 786 Vicenza 1305 1999-04-18 7 2 3 2 6 8 1999-04-11 L     2026-06-11 10:24:42.271645 2026-06-11 10:24:42.271645     International Results CSV 1 h2h://786:1305/1999-04-18
55958 Empoli 786 Aris 911 1999-04-25 3 0 3 0 3 7 1998-12-13 L     2026-06-11 10:24:42.279874 2026-06-11 10:24:42.279874     International Results CSV 1 h2h://786:911/1999-04-25
56007 Empoli 786 Parma 795 1999-05-02 3 1 2 0 5 7 1998-12-20 W     2026-06-11 10:24:42.292715 2026-06-11 10:24:42.292715     International Results CSV 1 h2h://795:786/1999-05-02
56064 Empoli 786 Venezia 799 1999-05-09 1 0 1 0 2 3 1999-01-20 L     2026-06-11 10:24:42.305624 2026-06-11 10:24:42.305625     International Results CSV 1 h2h://786:799/1999-05-09
56088 Empoli 786 Milan 792 1999-05-15 3 0 2 1 2 5 1999-01-10 D     2026-06-11 10:24:42.309927 2026-06-11 10:24:42.309928     International Results CSV 1 h2h://792:786/1999-05-15
56144 Empoli 786 Udinese 798 1999-05-23 3 1 0 2 3 2 1999-01-17 D     2026-06-11 10:24:42.321376 2026-06-11 10:24:42.321377     International Results CSV 1 h2h://786:798/1999-05-23
60896 Empoli 786 Roma 796 2002-10-19 4 0 2 2 5 8 1999-01-31 D     2026-06-11 10:24:44.154049 2026-06-11 10:24:44.154049     International Results CSV 1 h2h://786:796/2002-10-19
60958 Empoli 786 Vicenza 1305 2002-10-27 8 2 4 2 7 10 1999-04-18 W     2026-06-11 10:24:44.166362 2026-06-11 10:24:44.166362     International Results CSV 1 h2h://1305:786/2002-10-27
60988 Empoli 786 Lazio 790 2002-11-03 4 1 2 1 3 7 1999-03-14 D     2026-06-11 10:24:44.171937 2026-06-11 10:24:44.171937     International Results CSV 1 h2h://786:790/2002-11-03
61004 Empoli 786 Inter 1304 2002-11-06 4 0 3 1 4 12 1999-02-07 L     2026-06-11 10:24:44.175035 2026-06-11 10:24:44.175035     International Results CSV 1 h2h://786:1304/2002-11-06
61042 Empoli 786 Brescia 1308 2002-11-10 2 1 1 0 4 4 1998-04-05 L     2026-06-11 10:24:44.182719 2026-06-11 10:24:44.182719     International Results CSV 1 h2h://1308:786/2002-11-10
61082 Empoli 786 Reggiana 1307 2002-11-17 0 0 0 0 0 0         2026-06-11 10:24:44.191489 2026-06-11 10:24:44.191489     International Results CSV 1 h2h://786:1307/2002-11-17
61150 Empoli 786 Milan 792 2002-12-01 4 0 3 1 2 9 1999-05-15 L     2026-06-11 10:24:44.212216 2026-06-11 10:24:44.212216     International Results CSV 1 h2h://786:792/2002-12-01
61191 Empoli 786 Udinese 798 2002-12-08 4 1 1 2 4 5 1999-05-23 W     2026-06-11 10:24:44.222652 2026-06-11 10:24:44.222653     International Results CSV 1 h2h://798:786/2002-12-08
61224 Empoli 786 Monza 793 2002-12-15 0 0 0 0 0 0         2026-06-11 10:24:44.231863 2026-06-11 10:24:44.231863     International Results CSV 1 h2h://786:793/2002-12-15
61285 Empoli 786 Torino 797 2003-01-11 0 0 0 0 0 0         2026-06-11 10:24:44.251452 2026-06-11 10:24:44.251452     International Results CSV 1 h2h://786:797/2003-01-11
61314 Empoli 786 Parma 795 2003-01-18 4 1 3 0 5 8 1999-05-02 W     2026-06-11 10:24:44.258997 2026-06-11 10:24:44.258997     International Results CSV 1 h2h://795:786/2003-01-18
61365 Empoli 786 Inter 1304 2003-01-26 5 0 4 1 7 16 2002-11-06 W     2026-06-11 10:24:44.269500 2026-06-11 10:24:44.269501     International Results CSV 1 h2h://1304:786/2003-01-26
61561 Empoli 786 Roma 796 2003-03-02 5 0 3 2 6 11 2002-10-19 W     2026-06-11 10:24:44.319742 2026-06-11 10:24:44.319743     International Results CSV 1 h2h://796:786/2003-03-02
61602 Empoli 786 Vicenza 1305 2003-03-09 9 3 4 2 9 11 2002-10-27 W     2026-06-11 10:24:44.328227 2026-06-11 10:24:44.328227     International Results CSV 1 h2h://786:1305/2003-03-09
61629 Empoli 786 Lazio 790 2003-03-16 5 1 3 1 4 9 2002-11-03 W     2026-06-11 10:24:44.335130 2026-06-11 10:24:44.335130     International Results CSV 1 h2h://790:786/2003-03-16
61672 Empoli 786 Brescia 1308 2003-03-23 3 2 1 0 6 4 2002-11-10 W     2026-06-11 10:24:44.345749 2026-06-11 10:24:44.345749     International Results CSV 1 h2h://786:1308/2003-03-23
61712 Empoli 786 Reggiana 1307 2003-04-06 1 1 0 0 4 2 2002-11-17 L     2026-06-11 10:24:44.370344 2026-06-11 10:24:44.370345     International Results CSV 1 h2h://1307:786/2003-04-06
61766 Empoli 786 Milan 792 2003-04-19 5 0 3 2 3 10 2002-12-01 D     2026-06-11 10:24:44.380303 2026-06-11 10:24:44.380303     International Results CSV 1 h2h://792:786/2003-04-19
61810 Empoli 786 Udinese 798 2003-04-27 5 1 2 2 5 7 2002-12-08 L     2026-06-11 10:24:44.389999 2026-06-11 10:24:44.389999     International Results CSV 1 h2h://786:798/2003-04-27
61833 Empoli 786 Monza 793 2003-05-03 1 1 0 0 1 0 2002-12-15 L     2026-06-11 10:24:44.400215 2026-06-11 10:24:44.400215     International Results CSV 1 h2h://793:786/2003-05-03
61900 Empoli 786 Torino 797 2003-05-17 1 0 0 1 1 1 2003-01-11 D     2026-06-11 10:24:44.413859 2026-06-11 10:24:44.413859     International Results CSV 1 h2h://797:786/2003-05-17
61948 Empoli 786 Parma 795 2003-05-24 5 1 4 0 5 10 2003-01-18 L     2026-06-11 10:24:44.424807 2026-06-11 10:24:44.424807     International Results CSV 1 h2h://786:795/2003-05-24
62200 Empoli 786 Reggiana 1307 2003-09-14 2 1 1 0 4 3 2003-04-06 L     2026-06-11 10:24:44.543576 2026-06-11 10:24:44.543576     International Results CSV 1 h2h://786:1307/2003-09-14
62228 Empoli 786 Siena 1309 2003-09-20 0 0 0 0 0 0         2026-06-11 10:24:44.550124 2026-06-11 10:24:44.550124     International Results CSV 1 h2h://1309:786/2003-09-20
62287 Empoli 786 Lazio 790 2003-09-28 6 1 4 1 5 13 2003-03-16 L     2026-06-11 10:24:44.564120 2026-06-11 10:24:44.564120     International Results CSV 1 h2h://786:790/2003-09-28
62338 Empoli 786 Monza 793 2003-10-05 2 1 0 1 2 1 2003-05-03 D     2026-06-11 10:24:44.574859 2026-06-11 10:24:44.574859     International Results CSV 1 h2h://786:793/2003-10-05
62391 Empoli 786 Udinese 798 2003-10-19 6 1 2 3 6 8 2003-04-27 D     2026-06-11 10:24:44.600001 2026-06-11 10:24:44.600001     International Results CSV 1 h2h://798:786/2003-10-19
62497 Empoli 786 Lecce 791 2003-11-02 2 1 0 1 7 3 1998-04-26 L     2026-06-11 10:24:44.623285 2026-06-11 10:24:44.623286     International Results CSV 1 h2h://791:786/2003-11-02
62515 Empoli 786 Sampdoria 803 2003-11-08 4 1 3 0 4 8 1999-02-28 W     2026-06-11 10:24:44.627936 2026-06-11 10:24:44.627936     International Results CSV 1 h2h://803:786/2003-11-08
62594 Empoli 786 Parma 795 2003-11-23 6 1 5 0 5 12 2003-05-24 L     2026-06-11 10:24:44.659656 2026-06-11 10:24:44.659657     International Results CSV 1 h2h://786:795/2003-11-23
62684 Empoli 786 Milan 792 2003-12-06 6 1 3 2 4 10 2003-04-19 W     2026-06-11 10:24:44.680341 2026-06-11 10:24:44.680341     International Results CSV 1 h2h://786:792/2003-12-06
62762 Empoli 786 Brescia 1308 2003-12-14 4 2 1 1 6 4 2003-03-23 D     2026-06-11 10:24:44.697538 2026-06-11 10:24:44.697539     International Results CSV 1 h2h://1308:786/2003-12-14
62789 Empoli 786 Roma 796 2003-12-20 6 0 4 2 7 14 2003-03-02 L     2026-06-11 10:24:44.704434 2026-06-11 10:24:44.704434     International Results CSV 1 h2h://786:796/2003-12-20
62936 Empoli 786 Inter 1304 2004-01-18 6 0 5 1 7 19 2003-01-26 W     2026-06-11 10:24:44.740553 2026-06-11 10:24:44.740553     International Results CSV 1 h2h://1304:786/2004-01-18
62993 Empoli 786 Reggiana 1307 2004-01-31 3 1 1 1 5 4 2003-09-14 D     2026-06-11 10:24:44.756798 2026-06-11 10:24:44.756799     International Results CSV 1 h2h://1307:786/2004-01-31
63061 Empoli 786 Siena 1309 2004-02-08 1 0 1 0 0 4 2003-09-20 L     2026-06-11 10:24:44.773072 2026-06-11 10:24:44.773073     International Results CSV 1 h2h://786:1309/2004-02-08
63084 Empoli 786 Lazio 790 2004-02-14 7 1 4 2 7 15 2003-09-28 D     2026-06-11 10:24:44.779621 2026-06-11 10:24:44.779621     International Results CSV 1 h2h://790:786/2004-02-14
63148 Empoli 786 Monza 793 2004-02-22 3 1 1 1 2 4 2003-10-05 W     2026-06-11 10:24:44.801334 2026-06-11 10:24:44.801334     International Results CSV 1 h2h://793:786/2004-02-22
63169 Empoli 786 Udinese 798 2004-02-28 7 1 3 3 6 10 2003-10-19 L     2026-06-11 10:24:44.805881 2026-06-11 10:24:44.805881     International Results CSV 1 h2h://786:798/2004-02-28
63255 Empoli 786 Lecce 791 2004-03-13 3 1 1 1 8 5 2003-11-02 L     2026-06-11 10:24:44.822973 2026-06-11 10:24:44.822973     International Results CSV 1 h2h://786:791/2004-03-13
63331 Empoli 786 Sampdoria 803 2004-03-21 5 1 4 0 4 10 2003-11-08 L     2026-06-11 10:24:44.839048 2026-06-11 10:24:44.839049     International Results CSV 1 h2h://786:803/2004-03-21
63379 Empoli 786 Parma 795 2004-03-28 7 2 5 0 6 12 2003-11-23 L     2026-06-11 10:24:44.849340 2026-06-11 10:24:44.849340     International Results CSV 1 h2h://795:786/2004-03-28
63456 Empoli 786 Milan 792 2004-04-10 7 1 4 2 4 11 2003-12-06 W     2026-06-11 10:24:44.873202 2026-06-11 10:24:44.873202     International Results CSV 1 h2h://792:786/2004-04-10
63536 Empoli 786 Brescia 1308 2004-04-18 5 2 2 1 6 6 2003-12-14 L     2026-06-11 10:24:44.888228 2026-06-11 10:24:44.888228     International Results CSV 1 h2h://786:1308/2004-04-18
63573 Empoli 786 Roma 796 2004-04-25 7 0 5 2 7 16 2003-12-20 W     2026-06-11 10:24:44.895468 2026-06-11 10:24:44.895468     International Results CSV 1 h2h://796:786/2004-04-25
63741 Empoli 786 Inter 1304 2004-05-16 7 1 5 1 8 19 2004-01-18 W     2026-06-11 10:24:44.937081 2026-06-11 10:24:44.937082     International Results CSV 1 h2h://786:1304/2004-05-16

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