home / football

season

10 rows where competition_id = 38 sorted by season_name descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: created_at, updated_at, start_date (date), end_date (date), created_at (date), updated_at (date)

season_id competition_id season_name ▲ start_date end_date is_active teams_expected created_at updated_at created_by_run_id updated_by_run_id source_id source_raw_key
1629 Copa del Pacífico 38 2012 2012-01-01 2012-12-31 0   2026-06-07 06:58:53 2026-06-07 06:58:53 1 1   International Results CSV 1  
1495 Copa del Pacífico 38 2006 2006-01-01 2006-12-31 0   2026-06-07 06:58:50 2026-06-07 06:58:50 1 1   International Results CSV 1  
1047 Copa del Pacífico 38 1988 1988-01-01 1988-12-31 0   2026-06-07 06:58:41 2026-06-07 06:58:41 1 1   International Results CSV 1  
921 Copa del Pacífico 38 1983 1983-01-01 1983-12-31 0   2026-06-07 06:58:39 2026-06-07 06:58:39 1 1   International Results CSV 1  
894 Copa del Pacífico 38 1982 1982-01-01 1982-12-31 0   2026-06-07 06:58:39 2026-06-07 06:58:39 1 1   International Results CSV 1  
657 Copa del Pacífico 38 1971 1971-01-01 1971-12-31 0   2026-06-07 06:58:36 2026-06-07 06:58:36 1 1   International Results CSV 1  
611 Copa del Pacífico 38 1968 1968-01-01 1968-12-31 0   2026-06-07 06:58:35 2026-06-07 06:58:35 1 1   International Results CSV 1  
553 Copa del Pacífico 38 1965 1965-01-01 1965-12-31 0   2026-06-07 06:58:34 2026-06-07 06:58:34 1 1   International Results CSV 1  
408 Copa del Pacífico 38 1954 1954-01-01 1954-12-31 0   2026-06-07 06:58:33 2026-06-07 06:58:33 1 1   International Results CSV 1  
399 Copa del Pacífico 38 1953 1953-01-01 1953-12-31 0   2026-06-07 06:58:33 2026-06-07 06:58:33 1 1   International Results CSV 1  

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE season (
	season_id INTEGER NOT NULL, 
	competition_id INTEGER NOT NULL, 
	season_name VARCHAR(32) NOT NULL, 
	start_date DATE, 
	end_date DATE, 
	is_active BOOLEAN NOT NULL, 
	teams_expected 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), 
	PRIMARY KEY (season_id), 
	CONSTRAINT uq_season_competition_name UNIQUE (competition_id, season_name), 
	FOREIGN KEY(competition_id) REFERENCES competition (competition_id), 
	FOREIGN KEY(created_by_run_id) REFERENCES ingestion_run (run_id), 
	FOREIGN KEY(updated_by_run_id) REFERENCES ingestion_run (run_id), 
	FOREIGN KEY(source_id) REFERENCES data_source (source_id)
);
CREATE INDEX ix_season_updated_by_run_id ON season (updated_by_run_id);
CREATE INDEX ix_season_source_raw_key ON season (source_raw_key);
CREATE INDEX ix_season_competition_id ON season (competition_id);
CREATE INDEX ix_season_created_by_run_id ON season (created_by_run_id);
CREATE INDEX ix_season_source_id ON season (source_id);
CREATE INDEX ix_season_season_name ON season (season_name);
Powered by Datasette · Queries took 11.714ms