home / football

h2h_record

18 rows where team_a_id = 1280

✎ 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
58242 Charlton 1280 Bradford 1281 2000-11-04 0 0 0 0 0 0         2026-06-11 10:24:42.963093 2026-06-11 10:24:42.963094     International Results CSV 1 h2h://1280:1281/2000-11-04
58985 Charlton 1280 Bradford 1281 2001-04-13 1 1 0 0 2 0 2000-11-04 L     2026-06-11 10:24:43.169150 2026-06-11 10:24:43.169150     International Results CSV 1 h2h://1281:1280/2001-04-13
62324 Charlton 1280 Portsmouth 1283 2003-10-04 0 0 0 0 0 0         2026-06-11 10:24:44.571833 2026-06-11 10:24:44.571833     International Results CSV 1 h2h://1283:1280/2003-10-04
62508 Charlton 1280 Birmingham 1282 2003-11-03 0 0 0 0 0 0         2026-06-11 10:24:44.625529 2026-06-11 10:24:44.625529     International Results CSV 1 h2h://1282:1280/2003-11-03
63465 Charlton 1280 Portsmouth 1283 2004-04-10 1 1 0 0 2 1 2003-10-04 W     2026-06-11 10:24:44.874808 2026-06-11 10:24:44.874808     International Results CSV 1 h2h://1280:1283/2004-04-10
63510 Charlton 1280 Birmingham 1282 2004-04-17 1 1 0 0 2 1 2003-11-03 W     2026-06-11 10:24:44.883386 2026-06-11 10:24:44.883386     International Results CSV 1 h2h://1280:1282/2004-04-17
65291 Charlton 1280 Wigan 1284 2005-08-20 0 0 0 0 0 0         2026-06-11 10:24:45.850091 2026-06-11 10:24:45.850092     International Results CSV 1 h2h://1280:1284/2005-08-20
65369 Charlton 1280 Birmingham 1282 2005-09-10 2 1 0 1 3 2 2004-04-17 D     2026-06-11 10:24:45.878698 2026-06-11 10:24:45.878698     International Results CSV 1 h2h://1282:1280/2005-09-10
65654 Charlton 1280 Portsmouth 1283 2005-10-22 2 1 0 1 3 2 2004-04-10 D     2026-06-11 10:24:45.948171 2026-06-11 10:24:45.948171     International Results CSV 1 h2h://1283:1280/2005-10-22
66026 Charlton 1280 Wigan 1284 2005-12-17 1 1 0 0 1 0 2005-08-20 L     2026-06-11 10:24:46.036470 2026-06-11 10:24:46.036470     International Results CSV 1 h2h://1284:1280/2005-12-17
66164 Charlton 1280 Birmingham 1282 2006-01-14 3 2 0 1 4 2 2005-09-10 W     2026-06-11 10:24:46.066227 2026-06-11 10:24:46.066227     International Results CSV 1 h2h://1280:1282/2006-01-14
66853 Charlton 1280 Portsmouth 1283 2006-04-17 3 2 0 1 5 3 2005-10-22 W     2026-06-11 10:24:46.223723 2026-06-11 10:24:46.223723     International Results CSV 1 h2h://1280:1283/2006-04-17
67208 Charlton 1280 Portsmouth 1283 2006-09-16 4 3 0 1 7 4 2006-04-17 W     2026-06-11 10:24:46.356145 2026-06-11 10:24:46.356146     International Results CSV 1 h2h://1280:1283/2006-09-16
67592 Charlton 1280 Wigan 1284 2006-11-11 2 1 1 0 1 3 2005-12-17 W     2026-06-11 10:24:46.450431 2026-06-11 10:24:46.450432     International Results CSV 1 h2h://1284:1280/2006-11-11
68013 Charlton 1280 Portsmouth 1283 2007-01-20 5 3 1 1 7 5 2006-09-16 W     2026-06-11 10:24:46.559187 2026-06-11 10:24:46.559188     International Results CSV 1 h2h://1283:1280/2007-01-20
68441 Charlton 1280 Wigan 1284 2007-03-31 3 1 2 0 3 6 2006-11-11 L     2026-06-11 10:24:46.669582 2026-06-11 10:24:46.669583     International Results CSV 1 h2h://1280:1284/2007-03-31
101035 Charlton 1280 Birmingham 1282 3902-12-21 4 3 0 1 6 2 2006-01-14 L     2026-06-11 10:25:20.046177 2026-06-11 10:25:20.046177     International Results CSV 1 h2h://1282:1280/3902-12-21
101188 Charlton 1280 Birmingham 1282 3903-04-19 5 3 0 2 7 3 3902-12-21 D     2026-06-11 10:25:20.074454 2026-06-11 10:25:20.074455     International Results CSV 1 h2h://1280:1282/3903-04-19

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