Clean up starting pos data

This commit is contained in:
Nick Griffey 2024-01-27 13:07:23 -06:00
parent f2912360f5
commit 983798d200
2 changed files with 7 additions and 0 deletions

View File

@ -31,4 +31,7 @@ from allstarstartingpos;
alter table allstarstartingpos drop column "teamid"; alter table allstarstartingpos drop column "teamid";
alter table allstarstartingpos drop column "lgID"; alter table allstarstartingpos drop column "lgID";
alter table allstarstartingpos drop column "gp"; alter table allstarstartingpos drop column "gp";
delete from allstarstartingpos
where startingpos is null;
commit; commit;

View File

@ -16,4 +16,8 @@ where playerid = 'freesda01' and yearid = 2012 and lgid = 'AL';
update allstarfull update allstarfull
set gameid = null set gameid = null
where gameid = ''; where gameid = '';
update allstarfull
set startingpos = null
where startingpos = '';
commit; commit;