Not quite puzzles, but since someone else mentioned Schemaverse, I have made a similar but Elite inspired SQL-game called Datastar [1]. It features a simulated economy with traders and miners, and the goal is to make as much money as possible. Everything is done via SQL (or other PostgreSQL features), and the player need to make and manage a database of information about the planets and their economies.
I teach uni. couses on databases and made the game for my student to give them a more self-driven way to learn SQL.
[1] https://gitlab.com/leifhka/datastar