home / football

h2h_record

27 rows where team_b_id = 5

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: team_a_id, total_matches, wins_a, wins_b, draws, goals_a, 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
1988 Scotland 1 United States 5 1935-05-19 0 0 0 0 0 0         2026-06-07 07:03:18.449323 2026-06-07 07:03:18.449324 1   International Results CSV 1 h2h://5:1/1935-05-19
1995 Scotland 1 United States 5 1935-06-09 1 1 0 0 5 1 1935-05-19 L     2026-06-07 07:03:18.449378 2026-06-07 07:03:18.449378 1   International Results CSV 1 h2h://5:1/1935-06-09
3125 Northern Ireland 4 United States 5 1948-08-11 0 0 0 0 0 0         2026-06-07 07:03:18.460107 2026-06-07 07:03:18.460107 1   International Results CSV 1 h2h://4:5/1948-08-11
3265 Scotland 1 United States 5 1949-06-19 2 2 0 0 9 2 1935-06-09 L     2026-06-07 07:03:18.461317 2026-06-07 07:03:18.461317 1   International Results CSV 1 h2h://5:1/1949-06-19
3396 England 2 United States 5 1950-06-29 0 0 0 0 0 0         2026-06-07 07:03:18.462494 2026-06-07 07:03:18.462494 1   International Results CSV 1 h2h://2:5/1950-06-29
3609 Scotland 1 United States 5 1952-04-30 3 3 0 0 13 2 1949-06-19 W     2026-06-07 07:03:18.464336 2026-06-07 07:03:18.464336 1   International Results CSV 1 h2h://1:5/1952-04-30
3777 England 2 United States 5 1953-06-08 1 0 1 0 0 1 1950-06-29 W     2026-06-07 07:03:18.465790 2026-06-07 07:03:18.465790 1   International Results CSV 1 h2h://5:2/1953-06-08
4868 England 2 United States 5 1959-05-28 2 1 1 0 6 4 1953-06-08 L     2026-06-07 07:03:18.475498 2026-06-07 07:03:18.475498 1   International Results CSV 1 h2h://5:2/1959-05-28
6059 England 2 United States 5 1964-05-27 3 2 1 0 14 5 1959-05-28 L     2026-06-07 07:03:19.079155 2026-06-07 07:03:19.079155 1   International Results CSV 1 h2h://5:2/1964-05-27
14854 England 2 United States 5 1985-06-16 4 3 1 0 24 5 1964-05-27 L     2026-06-07 07:03:21.107776 2026-06-07 07:03:21.107777 1   International Results CSV 1 h2h://5:2/1985-06-16
18228 Scotland 1 United States 5 1992-05-17 4 4 0 0 19 2 1952-04-30 L     2026-06-07 07:03:22.071725 2026-06-07 07:03:22.071725 1   International Results CSV 1 h2h://5:1/1992-05-17
19098 England 2 United States 5 1993-06-09 5 4 1 0 29 5 1985-06-16 L     2026-06-07 07:03:22.244534 2026-06-07 07:03:22.244535 1   International Results CSV 1 h2h://5:2/1993-06-09
19865 England 2 United States 5 1994-09-07 6 4 2 0 29 7 1993-06-09 L     2026-06-07 07:03:22.397412 2026-06-07 07:03:22.397412 1   International Results CSV 1 h2h://2:5/1994-09-07
21029 Scotland 1 United States 5 1996-05-26 5 5 0 0 20 2 1992-05-17 L     2026-06-07 07:03:22.942523 2026-06-07 07:03:22.942523 1   International Results CSV 1 h2h://5:1/1996-05-26
22777 Scotland 1 United States 5 1998-05-30 6 5 1 0 21 4 1996-05-26 W     2026-06-07 07:03:23.278568 2026-06-07 07:03:23.278569 1   International Results CSV 1 h2h://5:1/1998-05-30
27185 Wales 3 United States 5 2003-05-26 0 0 0 0 0 0         2026-06-07 07:03:24.457989 2026-06-07 07:03:24.457990 1   International Results CSV 1 h2h://5:3/2003-05-26
29157 England 2 United States 5 2005-05-28 7 5 2 0 31 7 1994-09-07 L     2026-06-07 07:03:24.835084 2026-06-07 07:03:24.835084 1   International Results CSV 1 h2h://5:2/2005-05-28
29611 Scotland 1 United States 5 2005-11-12 7 5 1 1 21 4 1998-05-30 D     2026-06-07 07:03:24.922089 2026-06-07 07:03:24.922089 1   International Results CSV 1 h2h://1:5/2005-11-12
31855 England 2 United States 5 2008-05-28 8 6 2 0 33 8 2005-05-28 W     2026-06-07 07:03:25.685803 2026-06-07 07:03:25.685804 1   International Results CSV 1 h2h://2:5/2008-05-28
33852 England 2 United States 5 2010-06-12 9 7 2 0 35 8 2008-05-28 W     2026-06-07 07:03:26.069989 2026-06-07 07:03:26.069990 1   International Results CSV 1 h2h://2:5/2010-06-12
35786 Scotland 1 United States 5 2012-05-26 8 5 1 2 22 5 2005-11-12 D     2026-06-07 07:03:26.789123 2026-06-07 07:03:26.789123 1   International Results CSV 1 h2h://5:1/2012-05-26
37437 Scotland 1 United States 5 2013-11-15 9 5 2 2 23 10 2012-05-26 L     2026-06-07 07:03:27.112777 2026-06-07 07:03:27.112777 1   International Results CSV 1 h2h://1:5/2013-11-15
42045 England 2 United States 5 2018-11-15 10 7 2 1 36 9 2010-06-12 D     2026-06-07 07:03:28.363275 2026-06-07 07:03:28.363275 1   International Results CSV 1 h2h://2:5/2018-11-15
43582 Wales 3 United States 5 2020-11-12 1 0 1 0 0 2 2003-05-26 L     2026-06-07 07:03:28.667500 2026-06-07 07:03:28.667501 1   International Results CSV 1 h2h://3:5/2020-11-12
43815 Northern Ireland 4 United States 5 2021-03-28 1 1 0 0 5 0 1948-08-11 W     2026-06-07 07:03:28.713823 2026-06-07 07:03:28.713824 1   International Results CSV 1 h2h://4:5/2021-03-28
45704 Wales 3 United States 5 2022-11-21 2 0 1 1 0 2 2020-11-12 D     2026-06-07 07:03:29.443308 2026-06-07 07:03:29.443308 1   International Results CSV 1 h2h://5:3/2022-11-21
45720 England 2 United States 5 2022-11-25 11 8 2 1 39 9 2018-11-15 W     2026-06-07 07:03:29.446332 2026-06-07 07:03:29.446332 1   International Results CSV 1 h2h://2:5/2022-11-25

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