home / football

h2h_record

694 rows where team_b_id = 798

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: team_a_id, wins_b, 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
50299 Cagliari 784 Udinese 798 1995-08-27 0 0 0 0 0 0         2026-06-11 10:24:41.204494 2026-06-11 10:24:41.204494     International Results CSV 1 h2h://798:784/1995-08-27
50367 Milan 792 Udinese 798 1995-09-10 0 0 0 0 0 0         2026-06-11 10:24:41.205085 2026-06-11 10:24:41.205085     International Results CSV 1 h2h://792:798/1995-09-10
50444 Lazio 790 Udinese 798 1995-09-24 0 0 0 0 0 0         2026-06-11 10:24:41.205618 2026-06-11 10:24:41.205618     International Results CSV 1 h2h://790:798/1995-09-24
50545 Parma 795 Udinese 798 1995-10-15 0 0 0 0 0 0         2026-06-11 10:24:41.206463 2026-06-11 10:24:41.206463     International Results CSV 1 h2h://795:798/1995-10-15
50586 Torino 797 Udinese 798 1995-10-22 0 0 0 0 0 0         2026-06-11 10:24:41.206774 2026-06-11 10:24:41.206774     International Results CSV 1 h2h://798:797/1995-10-22
50622 Atalanta 782 Udinese 798 1995-10-29 0 0 0 0 0 0         2026-06-11 10:24:41.207049 2026-06-11 10:24:41.207049     International Results CSV 1 h2h://782:798/1995-10-29
50663 Juventus 341 Udinese 798 1995-11-05 0 0 0 0 0 0         2026-06-11 10:24:41.207355 2026-06-11 10:24:41.207355     International Results CSV 1 h2h://798:341/1995-11-05
50812 Roma 796 Udinese 798 1995-12-03 0 0 0 0 0 0         2026-06-11 10:24:41.208921 2026-06-11 10:24:41.208921     International Results CSV 1 h2h://798:796/1995-12-03
50847 Fiorentina 787 Udinese 798 1995-12-10 0 0 0 0 0 0         2026-06-11 10:24:41.209340 2026-06-11 10:24:41.209340     International Results CSV 1 h2h://787:798/1995-12-10
50996 Napoli 794 Udinese 798 1996-01-14 0 0 0 0 0 0         2026-06-11 10:24:41.210653 2026-06-11 10:24:41.210653     International Results CSV 1 h2h://798:794/1996-01-14
51021 Cagliari 784 Udinese 798 1996-01-21 1 0 1 0 0 1 1995-08-27 L     2026-06-11 10:24:41.210919 2026-06-11 10:24:41.210919     International Results CSV 1 h2h://784:798/1996-01-21
51058 Milan 792 Udinese 798 1996-01-28 1 1 0 0 2 1 1995-09-10 L     2026-06-11 10:24:41.211274 2026-06-11 10:24:41.211274     International Results CSV 1 h2h://798:792/1996-01-28
51124 Lazio 790 Udinese 798 1996-02-11 1 0 0 1 2 2 1995-09-24 D     2026-06-11 10:24:41.211899 2026-06-11 10:24:41.211899     International Results CSV 1 h2h://798:790/1996-02-11
51192 Parma 795 Udinese 798 1996-02-25 1 1 0 0 1 0 1995-10-15 L     2026-06-11 10:24:41.212522 2026-06-11 10:24:41.212522     International Results CSV 1 h2h://798:795/1996-02-25
51233 Torino 797 Udinese 798 1996-03-03 1 0 1 0 0 1 1995-10-22 L     2026-06-11 10:24:41.212856 2026-06-11 10:24:41.212856     International Results CSV 1 h2h://797:798/1996-03-03
51268 Atalanta 782 Udinese 798 1996-03-10 1 0 0 1 0 0 1995-10-29 D     2026-06-11 10:24:41.213167 2026-06-11 10:24:41.213167     International Results CSV 1 h2h://798:782/1996-03-10
51416 Roma 796 Udinese 798 1996-04-06 1 0 0 1 1 1 1995-12-03 D     2026-06-11 10:24:41.214508 2026-06-11 10:24:41.214508     International Results CSV 1 h2h://796:798/1996-04-06
51463 Juventus 341 Udinese 798 1996-04-10 1 0 1 0 0 1 1995-11-05 L     2026-06-11 10:24:41.214882 2026-06-11 10:24:41.214882     International Results CSV 1 h2h://341:798/1996-04-10
51500 Fiorentina 787 Udinese 798 1996-04-14 1 1 0 0 3 0 1995-12-10 L     2026-06-11 10:24:41.215158 2026-06-11 10:24:41.215158     International Results CSV 1 h2h://798:787/1996-04-14
51657 Napoli 794 Udinese 798 1996-05-12 1 0 1 0 2 3 1996-01-14 L     2026-06-11 10:24:41.216708 2026-06-11 10:24:41.216708     International Results CSV 1 h2h://794:798/1996-05-12
51848 Lazio 790 Udinese 798 1996-09-15 2 0 0 2 3 3 1996-02-11 D     2026-06-11 10:24:41.220100 2026-06-11 10:24:41.220101     International Results CSV 1 h2h://790:798/1996-09-15
51891 Cagliari 784 Udinese 798 1996-09-22 2 1 1 0 4 2 1996-01-21 W     2026-06-11 10:24:41.220520 2026-06-11 10:24:41.220521     International Results CSV 1 h2h://784:798/1996-09-22
51930 Bologna 783 Udinese 798 1996-09-29 0 0 0 0 0 0         2026-06-11 10:24:41.220887 2026-06-11 10:24:41.220887     International Results CSV 1 h2h://798:783/1996-09-29
51990 Napoli 794 Udinese 798 1996-10-13 2 1 1 0 4 4 1996-05-12 W     2026-06-11 10:24:41.221629 2026-06-11 10:24:41.221629     International Results CSV 1 h2h://794:798/1996-10-13
52076 Peru 71 Udinese 798 1996-10-27 0 0 0 0 0 0         2026-06-11 10:24:41.222403 2026-06-11 10:24:41.222403     International Results CSV 1 h2h://71:798/1996-10-27
52164 Atalanta 782 Udinese 798 1996-11-17 2 0 1 1 0 3 1996-03-10 L     2026-06-11 10:24:41.223423 2026-06-11 10:24:41.223423     International Results CSV 1 h2h://782:798/1996-11-17
52244 Parma 795 Udinese 798 1996-12-01 2 1 0 1 1 0 1996-02-25 D     2026-06-11 10:24:41.224194 2026-06-11 10:24:41.224195     International Results CSV 1 h2h://798:795/1996-12-01
52282 Milan 792 Udinese 798 1996-12-08 2 2 0 0 4 1 1996-01-28 W     2026-06-11 10:24:41.224545 2026-06-11 10:24:41.224545     International Results CSV 1 h2h://792:798/1996-12-08
52300 Juventus 341 Udinese 798 1996-12-11 2 1 1 0 2 2 1996-04-10 L     2026-06-11 10:24:41.224720 2026-06-11 10:24:41.224720     International Results CSV 1 h2h://798:341/1996-12-11
52308 Fiorentina 787 Udinese 798 1996-12-15 2 1 1 0 3 1 1996-04-14 W     2026-06-11 10:24:41.224954 2026-06-11 10:24:41.224955     International Results CSV 1 h2h://798:787/1996-12-15
52435 Roma 796 Udinese 798 1997-01-19 2 1 0 1 3 2 1996-04-06 L     2026-06-11 10:24:41.226222 2026-06-11 10:24:41.226223     International Results CSV 1 h2h://798:796/1997-01-19
52495 Lazio 790 Udinese 798 1997-02-02 3 0 1 2 3 4 1996-09-15 W     2026-06-11 10:24:41.226818 2026-06-11 10:24:41.226818     International Results CSV 1 h2h://798:790/1997-02-02
52536 Cagliari 784 Udinese 798 1997-02-16 3 1 2 0 5 4 1996-09-22 W     2026-06-11 10:24:41.227304 2026-06-11 10:24:41.227304     International Results CSV 1 h2h://798:784/1997-02-16
52585 Bologna 783 Udinese 798 1997-02-23 1 0 0 1 2 2 1996-09-29 D     2026-06-11 10:24:41.227848 2026-06-11 10:24:41.227848     International Results CSV 1 h2h://783:798/1997-02-23
52633 Napoli 794 Udinese 798 1997-03-02 3 1 1 1 5 5 1996-10-13 D     2026-06-11 10:24:41.228323 2026-06-11 10:24:41.228323     International Results CSV 1 h2h://798:794/1997-03-02
52725 Peru 71 Udinese 798 1997-03-16 1 1 0 0 2 1 1996-10-27 L     2026-06-11 10:24:41.229162 2026-06-11 10:24:41.229162     International Results CSV 1 h2h://798:71/1997-03-16
52826 Atalanta 782 Udinese 798 1997-04-06 3 1 1 1 1 3 1996-11-17 L     2026-06-11 10:24:41.230430 2026-06-11 10:24:41.230430     International Results CSV 1 h2h://798:782/1997-04-06
52867 Juventus 341 Udinese 798 1997-04-13 3 2 1 0 6 3 1996-12-11 W     2026-06-11 10:24:41.230857 2026-06-11 10:24:41.230857     International Results CSV 1 h2h://341:798/1997-04-13
52922 Parma 795 Udinese 798 1997-04-20 3 1 1 1 2 3 1996-12-01 L     2026-06-11 10:24:41.231385 2026-06-11 10:24:41.231385     International Results CSV 1 h2h://795:798/1997-04-20
52980 Milan 792 Udinese 798 1997-05-04 3 3 0 0 6 2 1996-12-08 L     2026-06-11 10:24:41.232206 2026-06-11 10:24:41.232206     International Results CSV 1 h2h://798:792/1997-05-04
53013 Fiorentina 787 Udinese 798 1997-05-11 3 1 2 0 3 3 1996-12-15 L     2026-06-11 10:24:41.232526 2026-06-11 10:24:41.232526     International Results CSV 1 h2h://787:798/1997-05-11
53119 Roma 796 Udinese 798 1997-06-01 3 1 1 1 3 3 1997-01-19 L     2026-06-11 10:24:41.233570 2026-06-11 10:24:41.233570     International Results CSV 1 h2h://796:798/1997-06-01
53252 Fiorentina 787 Udinese 798 1997-08-31 4 1 3 0 5 6 1997-05-11 W     2026-06-11 10:24:41.236202 2026-06-11 10:24:41.236202     International Results CSV 1 h2h://798:787/1997-08-31
53283 Lecce 791 Udinese 798 1997-09-13 0 0 0 0 0 0         2026-06-11 10:24:41.236774 2026-06-11 10:24:41.236774     International Results CSV 1 h2h://791:798/1997-09-13
53335 Milan 792 Udinese 798 1997-09-21 4 3 0 1 7 3 1997-05-04 D     2026-06-11 10:24:41.237238 2026-06-11 10:24:41.237239     International Results CSV 1 h2h://798:792/1997-09-21
53358 Parma 795 Udinese 798 1997-09-27 4 1 2 1 2 5 1997-04-20 L     2026-06-11 10:24:41.237488 2026-06-11 10:24:41.237488     International Results CSV 1 h2h://795:798/1997-09-27
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
53523 Juventus 341 Udinese 798 1997-11-01 4 2 2 0 6 6 1997-04-13 L     2026-06-11 10:24:41.239369 2026-06-11 10:24:41.239369     International Results CSV 1 h2h://341:798/1997-11-01
53679 Lazio 790 Udinese 798 1997-11-30 4 1 1 2 6 6 1997-02-02 W     2026-06-11 10:24:41.240835 2026-06-11 10:24:41.240835     International Results CSV 1 h2h://790:798/1997-11-30
53723 Bologna 783 Udinese 798 1997-12-07 2 0 0 2 2 2 1997-02-23 D     2026-06-11 10:24:41.241285 2026-06-11 10:24:41.241285     International Results CSV 1 h2h://798:783/1997-12-07
53847 Roma 796 Udinese 798 1998-01-04 4 1 2 1 3 6 1997-06-01 L     2026-06-11 10:24:41.242451 2026-06-11 10:24:41.242452     International Results CSV 1 h2h://796:798/1998-01-04
53876 Napoli 794 Udinese 798 1998-01-11 4 1 1 2 7 7 1997-03-02 D     2026-06-11 10:24:41.242735 2026-06-11 10:24:41.242735     International Results CSV 1 h2h://798:794/1998-01-11
53900 Atalanta 782 Udinese 798 1998-01-18 4 1 2 1 1 5 1997-04-06 L     2026-06-11 10:24:41.242947 2026-06-11 10:24:41.242947     International Results CSV 1 h2h://782:798/1998-01-18
53959 Fiorentina 787 Udinese 798 1998-02-01 5 2 3 0 8 8 1997-08-31 W     2026-06-11 10:24:41.243578 2026-06-11 10:24:41.243578     International Results CSV 1 h2h://787:798/1998-02-01
53998 Lecce 791 Udinese 798 1998-02-08 1 0 1 0 1 2 1997-09-13 W     2026-06-11 10:24:41.244013 2026-06-11 10:24:41.244013     International Results CSV 1 h2h://798:791/1998-02-08
54015 Milan 792 Udinese 798 1998-02-11 5 3 1 1 8 5 1997-09-21 L     2026-06-11 10:24:41.244232 2026-06-11 10:24:41.244232     International Results CSV 1 h2h://792:798/1998-02-11
54042 Parma 795 Udinese 798 1998-02-15 5 2 2 1 6 5 1997-09-27 L     2026-06-11 10:24:41.244508 2026-06-11 10:24:41.244508     International Results CSV 1 h2h://798:795/1998-02-15
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
54141 Juventus 341 Udinese 798 1998-03-08 5 3 2 0 10 7 1997-11-01 L     2026-06-11 10:24:41.245556 2026-06-11 10:24:41.245556     International Results CSV 1 h2h://798:341/1998-03-08
54233 Lazio 790 Udinese 798 1998-03-28 5 1 2 2 8 9 1997-11-30 W     2026-06-11 10:24:41.246502 2026-06-11 10:24:41.246502     International Results CSV 1 h2h://798:790/1998-03-28
54285 Bologna 783 Udinese 798 1998-04-05 3 0 1 2 5 6 1997-12-07 L     2026-06-11 10:24:41.246970 2026-06-11 10:24:41.246970     International Results CSV 1 h2h://783:798/1998-04-05
54408 Roma 796 Udinese 798 1998-04-26 5 1 3 1 4 8 1998-01-04 W     2026-06-11 10:24:41.867781 2026-06-11 10:24:41.867781     International Results CSV 1 h2h://798:796/1998-04-26
54455 Napoli 794 Udinese 798 1998-05-03 5 1 1 3 8 8 1998-01-11 D     2026-06-11 10:24:41.876910 2026-06-11 10:24:41.876911     International Results CSV 1 h2h://794:798/1998-05-03
54491 Atalanta 782 Udinese 798 1998-05-10 5 1 2 2 2 6 1998-01-18 D     2026-06-11 10:24:41.884633 2026-06-11 10:24:41.884634     International Results CSV 1 h2h://798:782/1998-05-10
54717 Bologna 783 Udinese 798 1998-09-20 4 1 1 2 7 6 1998-04-05 W     2026-06-11 10:24:41.983357 2026-06-11 10:24:41.983358     International Results CSV 1 h2h://783:798/1998-09-20
54811 Fiorentina 787 Udinese 798 1998-10-04 6 3 3 0 9 8 1998-02-01 W     2026-06-11 10:24:42.007064 2026-06-11 10:24:42.007064     International Results CSV 1 h2h://787:798/1998-10-04
54940 Roma 796 Udinese 798 1998-10-31 6 1 4 1 6 12 1998-04-26 L     2026-06-11 10:24:42.041198 2026-06-11 10:24:42.041198     International Results CSV 1 h2h://796:798/1998-10-31
55000 Juventus 341 Udinese 798 1998-11-08 6 3 2 1 11 8 1998-03-08 D     2026-06-11 10:24:42.053948 2026-06-11 10:24:42.053949     International Results CSV 1 h2h://798:341/1998-11-08
55061 Parma 795 Udinese 798 1998-11-15 6 2 2 2 7 6 1998-02-15 D     2026-06-11 10:24:42.066113 2026-06-11 10:24:42.066113     International Results CSV 1 h2h://795:798/1998-11-15
55158 Cagliari 784 Udinese 798 1998-11-29 4 1 3 0 5 5 1997-02-16 W     2026-06-11 10:24:42.088921 2026-06-11 10:24:42.088921     International Results CSV 1 h2h://798:784/1998-11-29
55207 Milan 792 Udinese 798 1998-12-06 6 3 1 2 8 5 1998-02-11 D     2026-06-11 10:24:42.101884 2026-06-11 10:24:42.101884     International Results CSV 1 h2h://792:798/1998-12-06
55310 Lazio 790 Udinese 798 1998-12-20 6 2 2 2 10 9 1998-03-28 W     2026-06-11 10:24:42.126340 2026-06-11 10:24:42.126340     International Results CSV 1 h2h://790:798/1998-12-20
55380 Peru 71 Udinese 798 1999-01-10 2 1 1 0 3 3 1997-03-16 L     2026-06-11 10:24:42.140573 2026-06-11 10:24:42.140573     International Results CSV 1 h2h://71:798/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
55479 Bologna 783 Udinese 798 1999-01-31 5 1 2 2 8 9 1998-09-20 W     2026-06-11 10:24:42.162827 2026-06-11 10:24:42.162827     International Results CSV 1 h2h://798:783/1999-01-31
55545 Fiorentina 787 Udinese 798 1999-02-14 7 4 3 0 10 8 1998-10-04 L     2026-06-11 10:24:42.180093 2026-06-11 10:24:42.180093     International Results CSV 1 h2h://798:787/1999-02-14
55666 Roma 796 Udinese 798 1999-03-07 7 2 4 1 10 12 1998-10-31 L     2026-06-11 10:24:42.208755 2026-06-11 10:24:42.208755     International Results CSV 1 h2h://798:796/1999-03-07
55694 Juventus 341 Udinese 798 1999-03-13 7 3 2 2 13 10 1998-11-08 D     2026-06-11 10:24:42.216250 2026-06-11 10:24:42.216250     International Results CSV 1 h2h://341:798/1999-03-13
55763 Parma 795 Udinese 798 1999-03-21 7 3 2 2 11 7 1998-11-15 L     2026-06-11 10:24:42.231483 2026-06-11 10:24:42.231483     International Results CSV 1 h2h://798:795/1999-03-21
55849 Cagliari 784 Udinese 798 1999-04-11 5 1 4 0 6 7 1998-11-29 L     2026-06-11 10:24:42.257668 2026-06-11 10:24:42.257668     International Results CSV 1 h2h://784:798/1999-04-11
55912 Milan 792 Udinese 798 1999-04-18 7 4 1 2 11 5 1998-12-06 L     2026-06-11 10:24:42.270218 2026-06-11 10:24:42.270218     International Results CSV 1 h2h://798:792/1999-04-18
56009 Lazio 790 Udinese 798 1999-05-02 7 3 2 2 13 10 1998-12-20 L     2026-06-11 10:24:42.293070 2026-06-11 10:24:42.293070     International Results CSV 1 h2h://798:790/1999-05-02
56104 Peru 71 Udinese 798 1999-05-16 3 1 2 0 4 6 1999-01-10 W     2026-06-11 10:24:42.313143 2026-06-11 10:24:42.313143     International Results CSV 1 h2h://798:71/1999-05-16
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
56442 Juventus 341 Udinese 798 1999-09-19 8 4 2 2 15 11 1999-03-13 W     2026-06-11 10:24:42.439830 2026-06-11 10:24:42.439831     International Results CSV 1 h2h://341:798/1999-09-19
56492 Fiorentina 787 Udinese 798 1999-09-26 8 4 4 0 10 9 1999-02-14 W     2026-06-11 10:24:42.449808 2026-06-11 10:24:42.449808     International Results CSV 1 h2h://798:787/1999-09-26
56586 Lazio 790 Udinese 798 1999-10-16 8 4 2 2 16 10 1999-05-02 L     2026-06-11 10:24:42.476158 2026-06-11 10:24:42.476158     International Results CSV 1 h2h://798:790/1999-10-16
56652 Cagliari 784 Udinese 798 1999-10-24 6 1 5 0 7 9 1999-04-11 L     2026-06-11 10:24:42.488704 2026-06-11 10:24:42.488704     International Results CSV 1 h2h://784:798/1999-10-24
56742 Lecce 791 Udinese 798 1999-11-07 2 0 2 0 1 8 1998-02-08 L     2026-06-11 10:24:42.507800 2026-06-11 10:24:42.507800     International Results CSV 1 h2h://791:798/1999-11-07
56781 Bologna 783 Udinese 798 1999-11-20 6 1 3 2 8 11 1999-01-31 W     2026-06-11 10:24:42.522096 2026-06-11 10:24:42.522096     International Results CSV 1 h2h://798:783/1999-11-20
56844 Roma 796 Udinese 798 1999-11-28 8 2 5 1 11 14 1999-03-07 W     2026-06-11 10:24:42.536514 2026-06-11 10:24:42.536514     International Results CSV 1 h2h://798:796/1999-11-28
56990 Torino 797 Udinese 798 1999-12-19 2 1 1 0 2 1 1996-03-03 W     2026-06-11 10:24:42.566205 2026-06-11 10:24:42.566206     International Results CSV 1 h2h://797:798/1999-12-19
57051 Parma 795 Udinese 798 2000-01-06 8 3 3 2 12 9 1999-03-21 W     2026-06-11 10:24:42.579251 2026-06-11 10:24:42.579252     International Results CSV 1 h2h://798:795/2000-01-06
57065 Peru 71 Udinese 798 2000-01-09 4 2 2 0 6 7 1999-05-16 W     2026-06-11 10:24:42.582837 2026-06-11 10:24:42.582838     International Results CSV 1 h2h://71:798/2000-01-09
57110 Milan 792 Udinese 798 2000-01-16 8 5 1 2 16 6 1999-04-18 L     2026-06-11 10:24:42.591932 2026-06-11 10:24:42.591932     International Results CSV 1 h2h://798:792/2000-01-16
57204 Juventus 341 Udinese 798 2000-02-05 9 5 2 2 19 12 1999-09-19 L     2026-06-11 10:24:42.620113 2026-06-11 10:24:42.620113     International Results CSV 1 h2h://798:341/2000-02-05
57272 Fiorentina 787 Udinese 798 2000-02-13 9 4 4 1 11 10 1999-09-26 D     2026-06-11 10:24:42.639399 2026-06-11 10:24:42.639400     International Results CSV 1 h2h://787:798/2000-02-13
57338 Lazio 790 Udinese 798 2000-02-26 9 5 2 2 19 10 1999-10-16 W     2026-06-11 10:24:42.661518 2026-06-11 10:24:42.661519     International Results CSV 1 h2h://790:798/2000-02-26
57377 Cagliari 784 Udinese 798 2000-03-04 7 1 6 0 7 12 1999-10-24 W     2026-06-11 10:24:42.670339 2026-06-11 10:24:42.670340     International Results CSV 1 h2h://798:784/2000-03-04
57484 Lecce 791 Udinese 798 2000-03-19 3 1 2 0 2 8 1999-11-07 L     2026-06-11 10:24:42.696676 2026-06-11 10:24:42.696676     International Results CSV 1 h2h://798:791/2000-03-19

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