Isn't it a relationship between the databases?
The primary key and foreignkey or something like that
So my game has high score stored in local storage which can be called as "database"
Every stage has it own high score, and it'll be accumulated in the main menu
Man, it's confusing