create table for manager award ties
This commit is contained in:
parent
7b04bfb776
commit
89ba3794a9
|
@ -0,0 +1,15 @@
|
||||||
|
begin;
|
||||||
|
create table if not exists awardsmanagersties (
|
||||||
|
"awardID" text,
|
||||||
|
"yearID" text,
|
||||||
|
"lgID" text,
|
||||||
|
"tie" text,
|
||||||
|
primary key("awardID","yearID","lgID")
|
||||||
|
);
|
||||||
|
|
||||||
|
insert into awardsmanagersties
|
||||||
|
select distinct awardID, yearID, lgID, tie
|
||||||
|
from awardsmanagers;
|
||||||
|
|
||||||
|
alter table awardsmanagers drop column "tie";
|
||||||
|
commit;
|
Loading…
Reference in New Issue