Depends on the data. Player stats are stored in players.dbf, team stats in team.dbf, team win/loss records in tmcareer.dbf and teams.dbf, player career stats in career.dbf.
Thanks Andrew, I am looking for the game results. For example you sim a game the results for the specific day is it saved also on a database or we just generate the stats as txt like the "boxscore000.txt".
Thank you for those information, it seems that the box score or the stats of a finished game is not saved on a database this is the information I am looking for.