home / football

h2h_record

610 rows where team_b_id = 796

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: team_a_id, 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
50368 Atalanta 782 Roma 796 1995-09-10 0 0 0 0 0 0         2026-06-11 10:24:41.205091 2026-06-11 10:24:41.205091     International Results CSV 1 h2h://796:782/1995-09-10
50406 Milan 792 Roma 796 1995-09-17 0 0 0 0 0 0         2026-06-11 10:24:41.205344 2026-06-11 10:24:41.205344     International Results CSV 1 h2h://796:792/1995-09-17
50484 Lazio 790 Roma 796 1995-10-01 0 0 0 0 0 0         2026-06-11 10:24:41.205884 2026-06-11 10:24:41.205884     International Results CSV 1 h2h://796:790/1995-10-01
50584 Parma 795 Roma 796 1995-10-22 0 0 0 0 0 0         2026-06-11 10:24:41.206762 2026-06-11 10:24:41.206762     International Results CSV 1 h2h://796:795/1995-10-22
50623 Cagliari 784 Roma 796 1995-10-29 0 0 0 0 0 0         2026-06-11 10:24:41.207055 2026-06-11 10:24:41.207055     International Results CSV 1 h2h://784:796/1995-10-29
50880 Napoli 794 Roma 796 1995-12-17 0 0 0 0 0 0         2026-06-11 10:24:41.209649 2026-06-11 10:24:41.209649     International Results CSV 1 h2h://794:796/1995-12-17
50908 Juventus 341 Roma 796 1995-12-23 0 0 0 0 0 0         2026-06-11 10:24:41.209878 2026-06-11 10:24:41.209878     International Results CSV 1 h2h://341:796/1995-12-23
50966 Fiorentina 787 Roma 796 1996-01-07 0 0 0 0 0 0         2026-06-11 10:24:41.210365 2026-06-11 10:24:41.210365     International Results CSV 1 h2h://796:787/1996-01-07
51054 Atalanta 782 Roma 796 1996-01-28 1 1 0 0 1 0 1995-09-10 W     2026-06-11 10:24:41.211247 2026-06-11 10:24:41.211247     International Results CSV 1 h2h://782:796/1996-01-28
51091 Milan 792 Roma 796 1996-02-04 1 1 0 0 2 1 1995-09-17 W     2026-06-11 10:24:41.211593 2026-06-11 10:24:41.211593     International Results CSV 1 h2h://792:796/1996-02-04
51151 Lazio 790 Roma 796 1996-02-18 1 0 0 1 0 0 1995-10-01 D     2026-06-11 10:24:41.212153 2026-06-11 10:24:41.212153     International Results CSV 1 h2h://790:796/1996-02-18
51209 Parma 795 Roma 796 1996-03-02 1 0 0 1 1 1 1995-10-22 D     2026-06-11 10:24:41.212677 2026-06-11 10:24:41.212677     International Results CSV 1 h2h://795:796/1996-03-02
51267 Cagliari 784 Roma 796 1996-03-10 1 0 1 0 0 2 1995-10-29 W     2026-06-11 10:24:41.213160 2026-06-11 10:24:41.213160     International Results CSV 1 h2h://796:784/1996-03-10
51534 Napoli 794 Roma 796 1996-04-21 1 0 1 0 0 2 1995-12-17 W     2026-06-11 10:24:41.215448 2026-06-11 10:24:41.215448     International Results CSV 1 h2h://796:794/1996-04-21
51574 Juventus 341 Roma 796 1996-04-28 1 0 1 0 0 2 1995-12-23 W     2026-06-11 10:24:41.215938 2026-06-11 10:24:41.215938     International Results CSV 1 h2h://796:341/1996-04-28
51621 Fiorentina 787 Roma 796 1996-05-05 1 0 0 1 2 2 1996-01-07 D     2026-06-11 10:24:41.216352 2026-06-11 10:24:41.216352     International Results CSV 1 h2h://787:796/1996-05-05
51992 Milan 792 Roma 796 1996-10-13 2 2 0 0 5 2 1996-02-04 L     2026-06-11 10:24:41.221643 2026-06-11 10:24:41.221643     International Results CSV 1 h2h://796:792/1996-10-13
52077 Juventus 341 Roma 796 1996-10-27 2 0 1 1 2 4 1996-04-28 D     2026-06-11 10:24:41.222410 2026-06-11 10:24:41.222410     International Results CSV 1 h2h://796:341/1996-10-27
52111 Bologna 783 Roma 796 1996-11-03 0 0 0 0 0 0         2026-06-11 10:24:41.222716 2026-06-11 10:24:41.222716     International Results CSV 1 h2h://783:796/1996-11-03
52167 Cagliari 784 Roma 796 1996-11-17 2 0 1 1 1 3 1996-03-10 D     2026-06-11 10:24:41.223447 2026-06-11 10:24:41.223448     International Results CSV 1 h2h://796:784/1996-11-17
52205 Parma 795 Roma 796 1996-11-24 2 0 0 2 2 2 1996-03-02 D     2026-06-11 10:24:41.223833 2026-06-11 10:24:41.223833     International Results CSV 1 h2h://795:796/1996-11-24
52243 Fiorentina 787 Roma 796 1996-12-01 2 0 1 1 3 6 1996-05-05 W     2026-06-11 10:24:41.224187 2026-06-11 10:24:41.224187     International Results CSV 1 h2h://796:787/1996-12-01
52281 Lazio 790 Roma 796 1996-12-08 2 1 0 1 1 0 1996-02-18 W     2026-06-11 10:24:41.224538 2026-06-11 10:24:41.224538     International Results CSV 1 h2h://790:796/1996-12-08
52307 Napoli 794 Roma 796 1996-12-15 2 0 2 0 1 6 1996-04-21 W     2026-06-11 10:24:41.224947 2026-06-11 10:24:41.224947     International Results CSV 1 h2h://796:794/1996-12-15
52333 Atalanta 782 Roma 796 1996-12-22 2 2 0 0 3 1 1996-01-28 L     2026-06-11 10:24:41.225229 2026-06-11 10:24:41.225229     International Results CSV 1 h2h://796:782/1996-12-22
52406 Peru 71 Roma 796 1997-01-12 0 0 0 0 0 0         2026-06-11 10:24:41.225962 2026-06-11 10:24:41.225962     International Results CSV 1 h2h://796:71/1997-01-12
52630 Milan 792 Roma 796 1997-03-02 3 2 1 0 5 5 1996-10-13 L     2026-06-11 10:24:41.228301 2026-06-11 10:24:41.228301     International Results CSV 1 h2h://792:796/1997-03-02
52722 Juventus 341 Roma 796 1997-03-16 3 0 1 2 3 5 1996-10-27 D     2026-06-11 10:24:41.229140 2026-06-11 10:24:41.229140     International Results CSV 1 h2h://341:796/1997-03-16
52767 Bologna 783 Roma 796 1997-03-23 1 1 0 0 3 2 1996-11-03 L     2026-06-11 10:24:41.229561 2026-06-11 10:24:41.229561     International Results CSV 1 h2h://796:783/1997-03-23
52822 Cagliari 784 Roma 796 1997-04-06 3 0 2 1 2 6 1996-11-17 L     2026-06-11 10:24:41.230402 2026-06-11 10:24:41.230402     International Results CSV 1 h2h://784:796/1997-04-06
52869 Parma 795 Roma 796 1997-04-13 3 0 0 3 2 2 1996-11-24 D     2026-06-11 10:24:41.230872 2026-06-11 10:24:41.230872     International Results CSV 1 h2h://796:795/1997-04-13
52920 Fiorentina 787 Roma 796 1997-04-20 3 0 1 2 6 9 1996-12-01 D     2026-06-11 10:24:41.231371 2026-06-11 10:24:41.231371     International Results CSV 1 h2h://787:796/1997-04-20
52979 Lazio 790 Roma 796 1997-05-04 3 1 0 2 1 0 1996-12-08 D     2026-06-11 10:24:41.232198 2026-06-11 10:24:41.232199     International Results CSV 1 h2h://796:790/1997-05-04
53015 Napoli 794 Roma 796 1997-05-11 3 0 3 0 1 7 1996-12-15 L     2026-06-11 10:24:41.232540 2026-06-11 10:24:41.232540     International Results CSV 1 h2h://794:796/1997-05-11
53037 Atalanta 782 Roma 796 1997-05-15 3 3 0 0 5 1 1996-12-22 W     2026-06-11 10:24:41.232731 2026-06-11 10:24:41.232731     International Results CSV 1 h2h://782:796/1997-05-15
53093 Peru 71 Roma 796 1997-05-25 1 0 1 0 1 4 1997-01-12 L     2026-06-11 10:24:41.233250 2026-06-11 10:24:41.233250     International Results CSV 1 h2h://71:796/1997-05-25
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
53303 Juventus 341 Roma 796 1997-09-14 4 1 1 2 6 5 1997-03-16 L     2026-06-11 10:24:41.236949 2026-06-11 10:24:41.236949     International Results CSV 1 h2h://796:341/1997-09-14
53334 Lecce 791 Roma 796 1997-09-21 0 0 0 0 0 0         2026-06-11 10:24:41.237231 2026-06-11 10:24:41.237231     International Results CSV 1 h2h://796:791/1997-09-21
53375 Bologna 783 Roma 796 1997-09-28 2 1 0 1 4 3 1997-03-23 D     2026-06-11 10:24:41.237637 2026-06-11 10:24:41.237637     International Results CSV 1 h2h://783:796/1997-09-28
53412 Napoli 794 Roma 796 1997-10-05 4 1 3 0 2 7 1997-05-11 L     2026-06-11 10:24:41.238020 2026-06-11 10:24:41.238020     International Results CSV 1 h2h://796:794/1997-10-05
53473 Fiorentina 787 Roma 796 1997-10-19 4 1 1 2 8 10 1997-04-20 W     2026-06-11 10:24:41.238874 2026-06-11 10:24:41.238875     International Results CSV 1 h2h://787:796/1997-10-19
53524 Lazio 790 Roma 796 1997-11-01 4 1 0 3 2 1 1997-05-04 D     2026-06-11 10:24:41.239377 2026-06-11 10:24:41.239377     International Results CSV 1 h2h://796:790/1997-11-01
53682 Parma 795 Roma 796 1997-11-30 4 1 0 3 3 2 1997-04-13 W     2026-06-11 10:24:41.240858 2026-06-11 10:24:41.240858     International Results CSV 1 h2h://795:796/1997-11-30
53722 Atalanta 782 Roma 796 1997-12-07 4 3 1 0 5 5 1997-05-15 W     2026-06-11 10:24:41.241278 2026-06-11 10:24:41.241278     International Results CSV 1 h2h://796:782/1997-12-07
53874 Milan 792 Roma 796 1998-01-11 4 2 1 1 6 6 1997-03-02 D     2026-06-11 10:24:41.242719 2026-06-11 10:24:41.242720     International Results CSV 1 h2h://792:796/1998-01-11
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
53996 Juventus 341 Roma 796 1998-02-08 5 1 1 3 6 5 1997-09-14 D     2026-06-11 10:24:41.243998 2026-06-11 10:24:41.243998     International Results CSV 1 h2h://341:796/1998-02-08
54014 Lecce 791 Roma 796 1998-02-11 1 0 1 0 1 3 1997-09-21 L     2026-06-11 10:24:41.244223 2026-06-11 10:24:41.244223     International Results CSV 1 h2h://791:796/1998-02-11
54041 Bologna 783 Roma 796 1998-02-15 3 1 0 2 4 3 1997-09-28 D     2026-06-11 10:24:41.244500 2026-06-11 10:24:41.244500     International Results CSV 1 h2h://796:783/1998-02-15
54069 Napoli 794 Roma 796 1998-02-22 5 1 4 0 4 13 1997-10-05 L     2026-06-11 10:24:41.244824 2026-06-11 10:24:41.244824     International Results CSV 1 h2h://794:796/1998-02-22
54109 Fiorentina 787 Roma 796 1998-03-01 5 1 1 3 8 10 1997-10-19 D     2026-06-11 10:24:41.245212 2026-06-11 10:24:41.245212     International Results CSV 1 h2h://796:787/1998-03-01
54138 Lazio 790 Roma 796 1998-03-08 5 2 0 3 5 2 1997-11-01 W     2026-06-11 10:24:41.245534 2026-06-11 10:24:41.245534     International Results CSV 1 h2h://790:796/1998-03-08
54248 Parma 795 Roma 796 1998-03-29 5 1 1 3 3 4 1997-11-30 W     2026-06-11 10:24:41.246628 2026-06-11 10:24:41.246628     International Results CSV 1 h2h://796:795/1998-03-29
54283 Atalanta 782 Roma 796 1998-04-05 5 3 2 0 5 8 1997-12-07 L     2026-06-11 10:24:41.246955 2026-06-11 10:24:41.246955     International Results CSV 1 h2h://782:796/1998-04-05
54457 Milan 792 Roma 796 1998-05-03 5 2 1 2 6 6 1998-01-11 D     2026-06-11 10:24:41.877271 2026-06-11 10:24:41.877272     International Results CSV 1 h2h://796:792/1998-05-03
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
54845 Fiorentina 787 Roma 796 1998-10-17 6 1 2 3 9 14 1998-03-01 W     2026-06-11 10:24:42.021995 2026-06-11 10:24:42.021996     International Results CSV 1 h2h://796:787/1998-10-17
54906 Milan 792 Roma 796 1998-10-25 6 2 2 2 6 11 1998-05-03 L     2026-06-11 10:24:42.034309 2026-06-11 10:24:42.034309     International Results CSV 1 h2h://792:796/1998-10-25
54996 Bologna 783 Roma 796 1998-11-08 4 1 1 2 5 5 1998-02-15 L     2026-06-11 10:24:42.053236 2026-06-11 10:24:42.053236     International Results CSV 1 h2h://783:796/1998-11-08
55062 Juventus 341 Roma 796 1998-11-15 6 2 1 3 9 6 1998-02-08 L     2026-06-11 10:24:42.066298 2026-06-11 10:24:42.066298     International Results CSV 1 h2h://796:341/1998-11-15
55156 Lazio 790 Roma 796 1998-11-29 6 3 0 3 7 2 1998-03-08 W     2026-06-11 10:24:42.088566 2026-06-11 10:24:42.088566     International Results CSV 1 h2h://790:796/1998-11-29
55190 Peru 71 Roma 796 1998-12-05 2 1 1 0 3 4 1997-05-25 L     2026-06-11 10:24:42.098639 2026-06-11 10:24:42.098639     International Results CSV 1 h2h://796:71/1998-12-05
55251 Parma 795 Roma 796 1998-12-13 6 1 1 4 5 6 1998-03-29 D     2026-06-11 10:24:42.114115 2026-06-11 10:24:42.114116     International Results CSV 1 h2h://795:796/1998-12-13
55376 Cagliari 784 Roma 796 1999-01-10 4 1 2 1 4 7 1997-04-06 W     2026-06-11 10:24:42.139852 2026-06-11 10:24:42.139852     International Results CSV 1 h2h://784:796/1999-01-10
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
55581 Fiorentina 787 Roma 796 1999-02-21 7 1 3 3 10 16 1998-10-17 L     2026-06-11 10:24:42.188205 2026-06-11 10:24:42.188205     International Results CSV 1 h2h://787:796/1999-02-21
55612 Milan 792 Roma 796 1999-02-27 7 3 2 2 9 13 1998-10-25 L     2026-06-11 10:24:42.195201 2026-06-11 10:24:42.195202     International Results CSV 1 h2h://796:792/1999-02-27
55696 Bologna 783 Roma 796 1999-03-13 5 1 1 3 6 6 1998-11-08 D     2026-06-11 10:24:42.216607 2026-06-11 10:24:42.216608     International Results CSV 1 h2h://796:783/1999-03-13
55759 Juventus 341 Roma 796 1999-03-21 7 2 2 3 9 8 1998-11-15 L     2026-06-11 10:24:42.230768 2026-06-11 10:24:42.230768     International Results CSV 1 h2h://341:796/1999-03-21
55853 Lazio 790 Roma 796 1999-04-11 7 3 0 4 10 5 1998-11-29 D     2026-06-11 10:24:42.258382 2026-06-11 10:24:42.258383     International Results CSV 1 h2h://796:790/1999-04-11
55911 Peru 71 Roma 796 1999-04-18 3 1 2 0 4 9 1998-12-05 L     2026-06-11 10:24:42.270034 2026-06-11 10:24:42.270034     International Results CSV 1 h2h://71:796/1999-04-18
55960 Parma 795 Roma 796 1999-04-25 7 1 1 5 6 7 1998-12-13 D     2026-06-11 10:24:42.280246 2026-06-11 10:24:42.280247     International Results CSV 1 h2h://796:795/1999-04-25
56103 Cagliari 784 Roma 796 1999-05-16 5 2 2 1 8 10 1999-01-10 L     2026-06-11 10:24:42.312960 2026-06-11 10:24:42.312961     International Results CSV 1 h2h://796:784/1999-05-16
56491 Peru 71 Roma 796 1999-09-26 4 2 2 0 7 11 1999-04-18 L     2026-06-11 10:24:42.449627 2026-06-11 10:24:42.449628     International Results CSV 1 h2h://796:71/1999-09-26
56535 Fiorentina 787 Roma 796 1999-10-03 8 1 3 4 10 16 1999-02-21 D     2026-06-11 10:24:42.459566 2026-06-11 10:24:42.459566     International Results CSV 1 h2h://787:796/1999-10-03
56606 Juventus 341 Roma 796 1999-10-17 8 2 2 4 10 9 1999-03-21 D     2026-06-11 10:24:42.479758 2026-06-11 10:24:42.479758     International Results CSV 1 h2h://796:341/1999-10-17
56698 Cagliari 784 Roma 796 1999-10-31 6 2 3 1 9 13 1999-05-16 W     2026-06-11 10:24:42.498277 2026-06-11 10:24:42.498278     International Results CSV 1 h2h://796:784/1999-10-31
56799 Lazio 790 Roma 796 1999-11-21 8 3 1 4 11 8 1999-04-11 W     2026-06-11 10:24:42.525858 2026-06-11 10:24:42.525858     International Results CSV 1 h2h://796:790/1999-11-21
56895 Lecce 791 Roma 796 1999-12-05 2 0 2 0 2 6 1998-02-11 W     2026-06-11 10:24:42.546971 2026-06-11 10:24:42.546972     International Results CSV 1 h2h://796:791/1999-12-05
56930 Bologna 783 Roma 796 1999-12-12 6 1 2 3 7 9 1999-03-13 L     2026-06-11 10:24:42.553793 2026-06-11 10:24:42.553794     International Results CSV 1 h2h://783:796/1999-12-12
56988 Parma 795 Roma 796 1999-12-19 8 1 2 5 6 8 1999-04-25 L     2026-06-11 10:24:42.565835 2026-06-11 10:24:42.565835     International Results CSV 1 h2h://795:796/1999-12-19
57063 Milan 792 Roma 796 2000-01-09 8 3 3 2 9 14 1999-02-27 L     2026-06-11 10:24:42.582482 2026-06-11 10:24:42.582482     International Results CSV 1 h2h://792:796/2000-01-09
57275 Peru 71 Roma 796 2000-02-13 5 2 3 0 8 14 1999-09-26 L     2026-06-11 10:24:42.639930 2026-06-11 10:24:42.639931     International Results CSV 1 h2h://71:796/2000-02-13
57298 Fiorentina 787 Roma 796 2000-02-19 9 1 4 4 11 19 1999-10-03 W     2026-06-11 10:24:42.648916 2026-06-11 10:24:42.648917     International Results CSV 1 h2h://796:787/2000-02-19
57360 Juventus 341 Roma 796 2000-02-27 9 3 2 4 11 9 1999-10-17 W     2026-06-11 10:24:42.666228 2026-06-11 10:24:42.666228     International Results CSV 1 h2h://341:796/2000-02-27
57445 Cagliari 784 Roma 796 2000-03-12 7 2 3 2 11 15 1999-10-31 D     2026-06-11 10:24:42.686188 2026-06-11 10:24:42.686189     International Results CSV 1 h2h://784:796/2000-03-12
57515 Lazio 790 Roma 796 2000-03-25 9 3 2 4 12 12 1999-11-21 L     2026-06-11 10:24:42.704549 2026-06-11 10:24:42.704550     International Results CSV 1 h2h://790:796/2000-03-25
57614 Lecce 791 Roma 796 2000-04-09 3 0 3 0 4 9 1999-12-05 L     2026-06-11 10:24:42.738003 2026-06-11 10:24:42.738004     International Results CSV 1 h2h://791:796/2000-04-09
57674 Bologna 783 Roma 796 2000-04-16 7 2 2 3 8 9 1999-12-12 L     2026-06-11 10:24:42.752854 2026-06-11 10:24:42.752854     International Results CSV 1 h2h://796:783/2000-04-16
57701 Parma 795 Roma 796 2000-04-22 9 2 2 5 8 8 1999-12-19 L     2026-06-11 10:24:42.759963 2026-06-11 10:24:42.759963     International Results CSV 1 h2h://796:795/2000-04-22
57807 Milan 792 Roma 796 2000-05-07 9 3 3 3 11 16 2000-01-09 D     2026-06-11 10:24:42.790952 2026-06-11 10:24:42.790952     International Results CSV 1 h2h://796:792/2000-05-07
58092 Bologna 783 Roma 796 2000-10-01 8 2 3 3 8 11 2000-04-16 W     2026-06-11 10:24:42.914402 2026-06-11 10:24:42.914402     International Results CSV 1 h2h://796:783/2000-10-01
58127 Lecce 791 Roma 796 2000-10-15 4 0 3 1 4 9 2000-04-09 D     2026-06-11 10:24:42.936681 2026-06-11 10:24:42.936682     International Results CSV 1 h2h://791:796/2000-10-15
58365 Fiorentina 787 Roma 796 2000-11-26 10 1 5 4 11 23 2000-02-19 W     2026-06-11 10:24:42.996659 2026-06-11 10:24:42.996660     International Results CSV 1 h2h://796:787/2000-11-26
58411 Peru 71 Roma 796 2000-12-03 6 2 3 1 10 16 2000-02-13 D     2026-06-11 10:24:43.005790 2026-06-11 10:24:43.005790     International Results CSV 1 h2h://71:796/2000-12-03
58491 Lazio 790 Roma 796 2000-12-17 10 4 2 4 14 13 2000-03-25 W     2026-06-11 10:24:43.021086 2026-06-11 10:24:43.021087     International Results CSV 1 h2h://790:796/2000-12-17
58519 Juventus 341 Roma 796 2000-12-22 10 4 2 4 13 10 2000-02-27 L     2026-06-11 10:24:43.026832 2026-06-11 10:24:43.026833     International Results CSV 1 h2h://796:341/2000-12-22
58570 Atalanta 782 Roma 796 2001-01-07 6 3 3 0 5 9 1998-04-05 L     2026-06-11 10:24:43.037461 2026-06-11 10:24:43.037461     International Results CSV 1 h2h://782:796/2001-01-07
58636 Milan 792 Roma 796 2001-01-21 10 3 3 4 12 17 2000-05-07 D     2026-06-11 10:24:43.055256 2026-06-11 10:24:43.055257     International Results CSV 1 h2h://792:796/2001-01-21

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