Add more corrections

This commit is contained in:
Nick Griffey 2024-01-25 21:08:32 -06:00
parent f6f17cc47c
commit 8d588eb8ba
5 changed files with 34 additions and 0 deletions

View File

@ -1,4 +1,5 @@
begin;
-- fix game numbers for 1962 all-star games
update allstarfull
set gamenum = 1
where gameid = 'ALS196207100';
@ -7,6 +8,7 @@ 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;

View File

@ -0,0 +1,11 @@
begin;
-- fix school id
update collegeplaying
set schoolID = 'cwpost'
where schoolID = 'ctpostu';
-- baseball almanac says Dick Woodson didn't play in college, and i can't find
-- another source that says otherwise
delete from collegeplaying
where playerid = 'woodsdi01';
commit;

View File

@ -0,0 +1,8 @@
begin;
-- insert some missing parks
insert into parks values
('ARL03', 'Globe Life Field', null, 'Arlington', 'TX', 'US'),
('BUF05', 'Sahlen Field', null, 'Buffalo', 'NY', 'US'),
('DUN01', 'TD Ballpark', null, 'Dunedin', 'FL', 'US'),
('DYE01', 'Field of Dreams', null, 'Dyersville', 'IA', 'US');
commit;

View File

@ -0,0 +1,7 @@
begin;
-- insert some missing people
insert into people values
('millema99', 1917, 4, 14, 'USA', 'NY', 'Brooklyn', 2012, 11, 27, 'USA', 'NY', 'Manhattan', 'Marvin', 'Miller', 'Marvin Julian', null, null, null, null, null, null, null, 'millema99'),
('fowlebu99', 1858, 3, 16, 'USA', 'NY', 'Fort Plain', 1913, 2, 26, 'USA', 'NY', 'Frankfort', 'Bud', 'Fowler', 'John W. Jackson', 155, 67, 'R', 'R', null, null, null, 'fowlebu99'),
('thompan01', null, null, null, null, null, null, null, null, null, null, null, null, null, 'Thompson', null, null, null, null, null, '1875-04-26', '1875-05-17', null, 'thompan01');
commit;

View File

@ -0,0 +1,6 @@
begin;
-- insert some missing schools
insert into schools values
('txutper', 'University of Texas Permian Basin', 'Odessa', 'TX', 'USA'),
('txrange', 'Ranger College', 'Ranger', 'TX', 'USA');
commit;