home / football

h2h_record

5 rows where team_b_id = 327

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: team_a_id, total_matches, wins_a, goals_a, goals_b, 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
43146 West Papua 326 East Turkestan 327 2019-10-19 0 0 0 0 0 0         2026-06-07 07:03:28.580425 2026-06-07 07:03:28.580426 1   International Results CSV 1 h2h://326:327/2019-10-19
43355 Tamil Eelam 294 East Turkestan 327 2019-12-14 0 0 0 0 0 0         2026-06-07 07:03:28.622054 2026-06-07 07:03:28.622055 1   International Results CSV 1 h2h://294:327/2019-12-14
48486 Tamil Eelam 294 East Turkestan 327 2025-07-02 1 1 0 0 3 0 2019-12-14 W     2026-06-07 07:03:29.978772 2026-06-07 07:03:29.978772 1   International Results CSV 1 h2h://294:327/2025-07-02
48487 Tibet 262 East Turkestan 327 2025-07-03 0 0 0 0 0 0         2026-06-07 07:03:29.978955 2026-06-07 07:03:29.978956 1   International Results CSV 1 h2h://262:327/2025-07-03
48488 Tamil Eelam 294 East Turkestan 327 2025-07-04 2 2 0 0 5 1 2025-07-02 W     2026-06-07 07:03:29.979146 2026-06-07 07:03:29.979146 1   International Results CSV 1 h2h://294:327/2025-07-04

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