home / football

team_alias

5 rows where team_id = 343

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: raw_name, source_id, confidence, created_at, updated_at, created_at (date), updated_at (date)

alias_id ▼ team_id raw_name source_id confidence created_at updated_at created_by_run_id updated_by_run_id source_raw_key
11 Olympique Lyonnais 343 Lyon International Results CSV 1 1.0 2026-06-07 21:13:31 2026-06-07 21:13:31      
227 Olympique Lyonnais 343 Olympique Lyon International Results CSV 1 0.88 2026-06-08 09:32:22 2026-06-08 09:32:22 14 14    
495 Olympique Lyonnais 343 OL manual 9 1.0 2026-06-09 18:43:19 2026-06-09 18:43:19      
496 Olympique Lyonnais 343 Lyon manual 9 1.0 2026-06-09 18:43:19 2026-06-09 18:43:19      
1282 Olympique Lyonnais 343 Lyon Understat 3 1.0 2026-06-11 20:51:27 2026-06-11 20:51:27      

Advanced export

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

CSV options:

CREATE TABLE team_alias (
	alias_id INTEGER NOT NULL, 
	team_id INTEGER NOT NULL, 
	raw_name VARCHAR(128) NOT NULL, 
	source_id INTEGER NOT NULL, 
	confidence FLOAT NOT NULL, 
	created_at DATETIME NOT NULL, 
	updated_at DATETIME NOT NULL, 
	created_by_run_id INTEGER, 
	updated_by_run_id INTEGER, 
	source_raw_key VARCHAR(512), 
	PRIMARY KEY (alias_id), 
	CONSTRAINT uq_team_alias_raw_source UNIQUE (raw_name, source_id), 
	FOREIGN KEY(team_id) REFERENCES team (team_id), 
	FOREIGN KEY(source_id) REFERENCES data_source (source_id), 
	FOREIGN KEY(created_by_run_id) REFERENCES ingestion_run (run_id), 
	FOREIGN KEY(updated_by_run_id) REFERENCES ingestion_run (run_id)
);
CREATE INDEX ix_team_alias_created_by_run_id ON team_alias (created_by_run_id);
CREATE INDEX ix_team_alias_team_id ON team_alias (team_id);
CREATE INDEX ix_team_alias_source_id ON team_alias (source_id);
CREATE INDEX ix_team_alias_source_raw_key ON team_alias (source_raw_key);
CREATE INDEX ix_team_alias_updated_by_run_id ON team_alias (updated_by_run_id);
CREATE INDEX ix_team_alias_raw_name ON team_alias (raw_name);
Powered by Datasette · Queries took 14.666ms