13 lines
279 B
PL/PgSQL
13 lines
279 B
PL/PgSQL
begin;
|
|
alter table managers drop column "lgID";
|
|
alter table managers drop column "rank";
|
|
|
|
update managers
|
|
set teamid = 'WS9'
|
|
where teamid = 'WAS' and yearid between 1891 and 1899;
|
|
|
|
update managers
|
|
set teamid = 'PHP'
|
|
where teamid = 'PH4' and yearid between 1890 and 1891;
|
|
commit;
|