create table for manager award ties

This commit is contained in:
Nick Griffey 2024-01-26 13:38:57 -06:00
parent 7b04bfb776
commit 89ba3794a9
1 changed files with 15 additions and 0 deletions

View File

@ -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;