home / football

h2h_record

7 rows where team_b_id = 287

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: team_a_id, total_matches, wins_a, goals_a, 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
34101 Réunion 109 Saint Pierre and Miquelon 287 2010-09-22 0 0 0 0 0 0         2026-06-07 07:03:26.117540 2026-06-07 07:03:26.117540 1   International Results CSV 1 h2h://109:287/2010-09-22
34111 French Guiana 84 Saint Pierre and Miquelon 287 2010-09-25 0 0 0 0 0 0         2026-06-07 07:03:26.119465 2026-06-07 07:03:26.119465 1   International Results CSV 1 h2h://84:287/2010-09-25
34122 Mayotte 265 Saint Pierre and Miquelon 287 2010-09-28 0 0 0 0 0 0         2026-06-07 07:03:26.121589 2026-06-07 07:03:26.121589 1   International Results CSV 1 h2h://265:287/2010-09-28
36231 Guadeloupe 81 Saint Pierre and Miquelon 287 2012-09-22 0 0 0 0 0 0         2026-06-07 07:03:26.874549 2026-06-07 07:03:26.874549 1   International Results CSV 1 h2h://81:287/2012-09-22
36237 Réunion 109 Saint Pierre and Miquelon 287 2012-09-24 1 1 0 0 11 0 2010-09-22 W     2026-06-07 07:03:26.875683 2026-06-07 07:03:26.875684 1   International Results CSV 1 h2h://109:287/2012-09-24
36247 French Guiana 84 Saint Pierre and Miquelon 287 2012-09-26 1 1 0 0 7 0 2010-09-25 W     2026-06-07 07:03:26.877567 2026-06-07 07:03:26.877567 1   International Results CSV 1 h2h://84:287/2012-09-26
36255 New Caledonia 126 Saint Pierre and Miquelon 287 2012-09-28 0 0 0 0 0 0         2026-06-07 07:03:26.879071 2026-06-07 07:03:26.879071 1   International Results CSV 1 h2h://287:126/2012-09-28

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