home / football

h2h_record

14 rows where team_a_id = 207

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: team_b_id, total_matches, wins_a, 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
24999 Rwanda 207 Eritrea 243 2000-10-28 0 0 0 0 0 0         2026-06-07 07:03:23.710482 2026-06-07 07:03:23.710482 1   International Results CSV 1 h2h://243:207/2000-10-28
25069 Rwanda 207 Eritrea 243 2000-11-25 1 1 0 0 1 0 2000-10-28 L     2026-06-07 07:03:24.052238 2026-06-07 07:03:24.052238 1   International Results CSV 1 h2h://243:207/2000-11-25
26086 Rwanda 207 Eritrea 243 2001-12-12 2 1 0 1 2 1 2000-11-25 D     2026-06-07 07:03:24.246262 2026-06-07 07:03:24.246262 1   International Results CSV 1 h2h://207:243/2001-12-12
27644 Rwanda 207 Namibia 231 2003-10-12 0 0 0 0 0 0         2026-06-07 07:03:24.545727 2026-06-07 07:03:24.545728 1   International Results CSV 1 h2h://207:231/2003-10-12
27712 Rwanda 207 Namibia 231 2003-11-15 1 1 0 0 3 0 2003-10-12 L     2026-06-07 07:03:24.558632 2026-06-07 07:03:24.558632 1   International Results CSV 1 h2h://231:207/2003-11-15
29656 Rwanda 207 Eritrea 243 2005-11-30 3 2 0 1 3 1 2001-12-12 W     2026-06-07 07:03:24.930667 2026-06-07 07:03:24.930667 1   International Results CSV 1 h2h://207:243/2005-11-30
31513 Rwanda 207 Eritrea 243 2007-12-09 4 3 0 1 6 3 2005-11-30 W     2026-06-07 07:03:25.619387 2026-06-07 07:03:25.619388 1   International Results CSV 1 h2h://207:243/2007-12-09
33534 Rwanda 207 Eritrea 243 2009-12-03 5 4 0 1 8 4 2007-12-09 W     2026-06-07 07:03:26.009355 2026-06-07 07:03:26.009355 1   International Results CSV 1 h2h://207:243/2009-12-03
35383 Rwanda 207 Eritrea 243 2011-11-11 6 5 0 1 10 5 2009-12-03 L     2026-06-07 07:03:26.712122 2026-06-07 07:03:26.712123 1   International Results CSV 1 h2h://243:207/2011-11-11
35475 Rwanda 207 Eritrea 243 2011-11-15 7 5 0 2 11 6 2011-11-11 D     2026-06-07 07:03:26.729739 2026-06-07 07:03:26.729739 1   International Results CSV 1 h2h://207:243/2011-11-15
36317 Rwanda 207 Namibia 231 2012-10-13 2 1 0 1 4 1 2003-11-15 D     2026-06-07 07:03:26.891079 2026-06-07 07:03:26.891079 1   International Results CSV 1 h2h://231:207/2012-10-13
36452 Rwanda 207 Namibia 231 2012-11-14 3 1 0 2 4 1 2012-10-13 D     2026-06-07 07:03:26.917107 2026-06-07 07:03:26.917107 1   International Results CSV 1 h2h://207:231/2012-11-14
36500 Rwanda 207 Eritrea 243 2012-12-01 8 6 0 2 14 7 2011-11-15 L     2026-06-07 07:03:26.926523 2026-06-07 07:03:26.926523 1   International Results CSV 1 h2h://243:207/2012-12-01
37520 Rwanda 207 Eritrea 243 2013-12-05 9 7 0 2 16 7 2012-12-01 W     2026-06-07 07:03:27.129353 2026-06-07 07:03:27.129354 1   International Results CSV 1 h2h://207:243/2013-12-05

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