|
begin;
|
|
create table if not exists allstargames (
|
|
"yearID" numeric,
|
|
"gameNum" numeric,
|
|
"gameID" text,
|
|
primary key("yearID","gameNum")
|
|
);
|
|
|
|
insert into allstargames
|
|
select distinct yearid, gamenum, gameid
|
|
from allstarfull;
|
|
|
|
alter table allstarfull drop column "gameID";
|
|
commit;
|