Compare commits

...

4 Commits

Author SHA1 Message Date
filifa c46190d5a8 set death months and days to null 2025-08-06 19:08:08 -04:00
filifa e34da70285 fix George Frazier's info 2025-08-06 19:07:49 -04:00
filifa 7900c660a6 remove redundant insert 2025-08-06 19:07:31 -04:00
filifa 7ebd375743 split up ohtani position row 2025-08-06 18:47:41 -04:00
2 changed files with 25 additions and 1 deletions

View File

@ -54,6 +54,15 @@ where startingpos = '';
delete from allstarstartingpos delete from allstarstartingpos
where startingpos is null; where startingpos is null;
insert into allstarstartingpos
values
('ohtansh01', 2021, 0, 'AL', 1),
('ohtansh01', 2021, 0, 'AL', 10)
;
delete from allstarstartingpos
where startingpos = '1;10';
CREATE TABLE "allstarstartingpos" ( CREATE TABLE "allstarstartingpos" (
"player" NUMERIC, "player" NUMERIC,
"year" NUMERIC, "year" NUMERIC,

View File

@ -26,12 +26,18 @@ alter table people drop column "ID";
-- insert some missing people -- insert some missing people
insert into people values insert into people values
('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'); ('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');
delete from people delete from people
where playerID = 'kellyho99'; where playerID = 'kellyho99';
delete from people
where playerID = 'frazge99';
update people
set bbrefID = 'frazege99'
where playerID = 'frazege99';
update people update people
set set
birthcountry = nullif(birthcountry, ''), birthcountry = nullif(birthcountry, ''),
@ -55,6 +61,15 @@ set
bbrefID = nullif(bbrefid, ''), bbrefID = nullif(bbrefid, ''),
retroID = nullif(retroid, ''); retroID = nullif(retroid, '');
-- we don't know exactly when Alfredo Cabrera died
update people
set deathMonth = null
where deathMonth = 0;
update people
set deathDay = null
where deathDay = 0;
update people update people
set throws = 'B' set throws = 'B'
where throws = 'S'; where throws = 'S';