lahmanlite/sql/pitching.sql

12 lines
238 B
PL/PgSQL

begin;
alter table pitching drop column "lgID";
update pitching
set teamid = 'WS9'
where teamid = 'WAS' and yearid between 1891 and 1899;
update pitching
set teamid = 'PHP'
where teamid = 'PH4' and yearid between 1890 and 1891;
commit;