lahmanlite/sql/corrections/allstarfull.sql

15 lines
342 B
PL/PgSQL

begin;
-- fix game numbers for 1962 all-star games
update allstarfull
set gamenum = 1
where gameid = 'ALS196207100';
update allstarfull
set gamenum = 2
where gameid = 'NLS196207300';
-- david freese has two all-star entries for 2012, one in AL
delete from allstarfull
where playerid = 'freesda01' and yearid = 2012 and lgid = 'AL';
commit;