union fieldingpost query
This commit is contained in:
parent
8ba209aea4
commit
dd968797d8
|
@ -11,11 +11,17 @@ select distinct yearID, playerID, teamID
|
|||
from battingpost
|
||||
union
|
||||
select distinct yearID, playerID, teamID
|
||||
from pitchingpost;
|
||||
from pitchingpost
|
||||
union
|
||||
select distinct yearID, playerID, teamID
|
||||
from fieldingpost;
|
||||
|
||||
alter table "battingpost" drop column "teamID";
|
||||
alter table "battingpost" drop column "lgID";
|
||||
|
||||
alter table "pitchingpost" drop column "teamID";
|
||||
alter table "pitchingpost" drop column "lgID";
|
||||
|
||||
alter table fieldingpost drop column "teamID";
|
||||
alter table fieldingpost drop column "lgID";
|
||||
commit;
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
begin;
|
||||
alter table fieldingpost drop column "teamID";
|
||||
alter table fieldingpost drop column "lgID";
|
||||
commit;
|
Loading…
Reference in New Issue