home / football

h2h_record

16 rows where team_a_id = 925

✎ 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
80050 Cardiff City 925 West Ham 1275 2013-08-17 0 0 0 0 0 0         2026-06-11 10:25:12.271152 2026-06-11 10:25:12.271152     International Results CSV 1 h2h://1275:925/2013-08-17
80187 Cardiff City 925 Hull 1286 2013-09-14 0 0 0 0 0 0         2026-06-11 10:25:12.319514 2026-06-11 10:25:12.319515     International Results CSV 1 h2h://1286:925/2013-09-14
80261 Cardiff City 925 Tottenham 1273 2013-09-22 0 0 0 0 0 0         2026-06-11 10:25:12.333157 2026-06-11 10:25:12.333157     International Results CSV 1 h2h://925:1273/2013-09-22
80362 Cardiff City 925 Newcastle 1272 2013-10-05 0 0 0 0 0 0         2026-06-11 10:25:12.352080 2026-06-11 10:25:12.352080     International Results CSV 1 h2h://925:1272/2013-10-05
80453 Cardiff City 925 Norwich City 927 2013-10-26 0 0 0 0 0 0         2026-06-11 10:25:12.386496 2026-06-11 10:25:12.386496     International Results CSV 1 h2h://927:925/2013-10-26
80722 Cardiff City 925 Stoke 1285 2013-12-04 0 0 0 0 0 0         2026-06-11 10:25:12.456681 2026-06-11 10:25:12.456682     International Results CSV 1 h2h://1285:925/2013-12-04
80874 Cardiff City 925 Sunderland 1279 2013-12-28 0 0 0 0 0 0         2026-06-11 10:25:12.488041 2026-06-11 10:25:12.488041     International Results CSV 1 h2h://925:1279/2013-12-28
80928 Cardiff City 925 West Ham 1275 2014-01-11 1 0 1 0 0 2 2013-08-17 L     2026-06-11 10:25:12.500152 2026-06-11 10:25:12.500152     International Results CSV 1 h2h://925:1275/2014-01-11
81050 Cardiff City 925 Norwich City 927 2014-02-01 1 0 0 1 0 0 2013-10-26 D     2026-06-11 10:25:12.524467 2026-06-11 10:25:12.524467     International Results CSV 1 h2h://925:927/2014-02-01
81206 Cardiff City 925 Hull 1286 2014-02-22 1 0 0 1 1 1 2013-09-14 D     2026-06-11 10:25:12.553752 2026-06-11 10:25:12.553752     International Results CSV 1 h2h://925:1286/2014-02-22
81280 Cardiff City 925 Tottenham 1273 2014-03-02 1 0 1 0 0 1 2013-09-22 W     2026-06-11 10:25:12.567974 2026-06-11 10:25:12.567974     International Results CSV 1 h2h://1273:925/2014-03-02
81627 Cardiff City 925 Stoke 1285 2014-04-19 1 0 0 1 0 0 2013-12-04 D     2026-06-11 10:25:12.644676 2026-06-11 10:25:12.644677     International Results CSV 1 h2h://925:1285/2014-04-19
81700 Cardiff City 925 Sunderland 1279 2014-04-27 1 0 0 1 2 2 2013-12-28 D     2026-06-11 10:25:12.658660 2026-06-11 10:25:12.658660     International Results CSV 1 h2h://1279:925/2014-04-27
81719 Cardiff City 925 Newcastle 1272 2014-05-03 1 0 1 0 1 2 2013-10-05 W     2026-06-11 10:25:12.662335 2026-06-11 10:25:12.662335     International Results CSV 1 h2h://1272:925/2014-05-03
89161 Cardiff City 925 Fulham FC 926 2018-10-20 0 0 0 0 0 0         2026-06-11 10:25:15.252039 2026-06-11 10:25:15.252039     International Results CSV 1 h2h://925:926/2018-10-20
90384 Cardiff City 925 Fulham FC 926 2019-04-27 1 1 0 0 4 2 2018-10-20 L     2026-06-11 10:25:15.955474 2026-06-11 10:25:15.955474     International Results CSV 1 h2h://926:925/2019-04-27

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