home / football

season

16 rows where competition_id = 123 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
1854 AFF Championship 123 2023 2023-01-01 2023-12-31 0   2026-06-07 06:59:00 2026-06-07 06:59:00 1 1   International Results CSV 1  
1831 AFF Championship 123 2022 2022-01-01 2022-12-31 0   2026-06-07 06:58:59 2026-06-07 06:58:59 1 1   International Results CSV 1  
1830 AFF Championship 123 2021 2021-01-01 2021-12-31 0   2026-06-07 06:58:59 2026-06-07 06:58:59 1 1   International Results CSV 1  
1781 AFF Championship 123 2018 2018-01-01 2018-12-31 0   2026-06-07 06:58:58 2026-06-07 06:58:58 1 1   International Results CSV 1  
1741 AFF Championship 123 2016 2016-01-01 2016-12-31 0   2026-06-07 06:58:57 2026-06-07 06:58:57 1 1   International Results CSV 1  
1695 AFF Championship 123 2014 2014-01-01 2014-12-31 0   2026-06-07 06:58:55 2026-06-07 06:58:55 1 1   International Results CSV 1  
1647 AFF Championship 123 2012 2012-01-01 2012-12-31 0   2026-06-07 06:58:54 2026-06-07 06:58:54 1 1   International Results CSV 1  
1598 AFF Championship 123 2010 2010-01-01 2010-12-31 0   2026-06-07 06:58:53 2026-06-07 06:58:53 1 1   International Results CSV 1  
1553 AFF Championship 123 2008 2008-01-01 2008-12-31 0   2026-06-07 06:58:51 2026-06-07 06:58:51 1 1   International Results CSV 1  
1505 AFF Championship 123 2007 2007-01-01 2007-12-31 0   2026-06-07 06:58:50 2026-06-07 06:58:50 1 1   International Results CSV 1  
1458 AFF Championship 123 2005 2005-01-01 2005-12-31 0   2026-06-07 06:58:49 2026-06-07 06:58:49 1 1   International Results CSV 1  
1456 AFF Championship 123 2004 2004-01-01 2004-12-31 0   2026-06-07 06:58:49 2026-06-07 06:58:49 1 1   International Results CSV 1  
1408 AFF Championship 123 2002 2002-01-01 2002-12-31 0   2026-06-07 06:58:48 2026-06-07 06:58:48 1 1   International Results CSV 1  
1357 AFF Championship 123 2000 2000-01-01 2000-12-31 0   2026-06-07 06:58:47 2026-06-07 06:58:47 1 1   International Results CSV 1  
1295 AFF Championship 123 1998 1998-01-01 1998-12-31 0   2026-06-07 06:58:45 2026-06-07 06:58:45 1 1   International Results CSV 1  
1239 AFF Championship 123 1996 1996-01-01 1996-12-31 0   2026-06-07 06:58:44 2026-06-07 06:58:44 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 17.432ms