franchise_history
1 row where team_id = 310
This data as json, CSV (advanced)
| history_id ▼ | franchise_id | team_id | team_code | active | name | city | nickname | start_year | end_year |
|---|---|---|---|---|---|---|---|---|---|
| 45 | 9 9 | Portland Pirates 310 | POR | 0 | Portland Pirates | Portland | Pirates | 1993 | 2016 |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE franchise_history (
history_id INTEGER PRIMARY KEY AUTOINCREMENT,
franchise_id INTEGER NOT NULL REFERENCES franchise(franchise_id),
team_id INTEGER REFERENCES team(team_id),
team_code TEXT NOT NULL,
active BOOLEAN NOT NULL,
name TEXT NOT NULL,
city TEXT NOT NULL,
nickname TEXT NOT NULL,
start_year INTEGER NOT NULL,
end_year INTEGER
);