home / football

h2h_record

16 rows where team_a_id = 1284

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: team_b_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
70820 Wigan 1284 Hull 1286 2008-08-30 0 0 0 0 0 0         2026-06-11 10:24:47.787875 2026-06-11 10:24:47.787876     International Results CSV 1 h2h://1286:1284/2008-08-30
71279 Wigan 1284 Stoke 1285 2008-11-08 0 0 0 0 0 0         2026-06-11 10:24:47.922340 2026-06-11 10:24:47.922341     International Results CSV 1 h2h://1284:1285/2008-11-08
72135 Wigan 1284 Hull 1286 2009-03-22 1 1 0 0 5 0 2008-08-30 W     2026-06-11 10:24:48.128924 2026-06-11 10:24:48.128925     International Results CSV 1 h2h://1284:1286/2009-03-22
72481 Wigan 1284 Stoke 1285 2009-05-16 1 0 0 1 0 0 2008-11-08 D     2026-06-11 10:24:48.214129 2026-06-11 10:24:48.214130     International Results CSV 1 h2h://1285:1284/2009-05-16
72919 Wigan 1284 Hull 1286 2009-10-03 2 2 0 0 6 0 2009-03-22 L     2026-06-11 10:24:48.364854 2026-06-11 10:24:48.364854     International Results CSV 1 h2h://1286:1284/2009-10-03
73342 Wigan 1284 Stoke 1285 2009-12-12 2 0 1 1 0 2 2009-05-16 W     2026-06-11 10:24:48.484423 2026-06-11 10:24:48.484423     International Results CSV 1 h2h://1285:1284/2009-12-12
73714 Wigan 1284 Stoke 1285 2010-02-09 3 0 1 2 2 4 2009-12-12 D     2026-06-11 10:24:48.568017 2026-06-11 10:24:48.568018     International Results CSV 1 h2h://1284:1285/2010-02-09
74356 Wigan 1284 Hull 1286 2010-05-03 3 2 1 0 7 2 2009-10-03 L     2026-06-11 10:25:11.305960 2026-06-11 10:25:11.305960     International Results CSV 1 h2h://1284:1286/2010-05-03
74483 Wigan 1284 Blackpool 1287 2010-08-14 0 0 0 0 0 0         2026-06-11 10:25:11.308676 2026-06-11 10:25:11.308676     International Results CSV 1 h2h://1284:1287/2010-08-14
75195 Wigan 1284 Stoke 1285 2010-12-04 4 0 1 3 3 5 2010-02-09 D     2026-06-11 10:25:11.318477 2026-06-11 10:25:11.318478     International Results CSV 1 h2h://1284:1285/2010-12-04
76029 Wigan 1284 Blackpool 1287 2011-04-16 1 0 1 0 0 4 2010-08-14 W     2026-06-11 10:25:11.328800 2026-06-11 10:25:11.328801     International Results CSV 1 h2h://1287:1284/2011-04-16
76317 Wigan 1284 Stoke 1285 2011-05-22 5 0 1 4 5 7 2010-12-04 D     2026-06-11 10:25:11.331731 2026-06-11 10:25:11.331731     International Results CSV 1 h2h://1285:1284/2011-05-22
77193 Wigan 1284 Stoke 1285 2011-12-31 6 1 1 4 6 7 2011-05-22 L     2026-06-11 10:25:11.347279 2026-06-11 10:25:11.347279     International Results CSV 1 h2h://1285:1284/2011-12-31
77785 Wigan 1284 Stoke 1285 2012-03-31 7 1 1 5 8 9 2011-12-31 D     2026-06-11 10:25:11.354787 2026-06-11 10:25:11.354787     International Results CSV 1 h2h://1284:1285/2012-03-31
78293 Wigan 1284 Stoke 1285 2012-09-01 8 2 1 5 10 9 2012-03-31 W     2026-06-11 10:25:11.363078 2026-06-11 10:25:11.363078     International Results CSV 1 h2h://1284:1285/2012-09-01
79236 Wigan 1284 Stoke 1285 2013-01-29 9 2 1 6 12 11 2012-09-01 D     2026-06-11 10:25:11.379787 2026-06-11 10:25:11.379787     International Results CSV 1 h2h://1285:1284/2013-01-29

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