lahmanlite/sql/awards.sql

14 lines
237 B
PL/PgSQL

begin;
attach database 'baseball-raw.db' as 'raw';
create table if not exists "awards" (
"ID" text
);
insert into awards
select distinct awardID
from "raw".awardsmanagers
union
select distinct awardID
from "raw".awardsplayers;
commit;