lahmanlite/sql/corrections/allstarfull.sql

20 lines
464 B
MySQL
Raw Normal View History

2024-01-25 05:44:50 +00:00
begin;
2024-01-26 03:08:32 +00:00
-- fix game numbers for 1962 all-star games
2024-01-25 05:44:50 +00:00
update allstarfull
set gamenum = 1
where gameid = 'ALS196207100';
update allstarfull
set gamenum = 2
where gameid = 'NLS196207300';
2024-01-26 03:08:32 +00:00
-- david freese has two all-star entries for 2012, one in AL
2024-01-25 05:44:50 +00:00
delete from allstarfull
where playerid = 'freesda01' and yearid = 2012 and lgid = 'AL';
-- 1945 all-star game wasn't played so some rows have no game id
update allstarfull
set gameid = null
where gameid = '';
2024-01-25 05:44:50 +00:00
commit;