Live data from Hacker News

Ask HN: Are there any websites for SQL puzzle games?

news.ycombinator.com

31–40 of 49 posts

Re: Ask HN: Are there any websites for SQL puzzle games?

#31

At beginner level, there is SQL Island https://sql-island.informatik.uni-kl.de , with versions in German, English and French.

Where is the English language version? Would love to use with my son!

Click on menu symbol, then on "Sprache wechseln", then English

Re: Ask HN: Are there any websites for SQL puzzle games?

#32

At beginner level, there is SQL Island https://sql-island.informatik.uni-kl.de , with versions in German, English and French.

Where is the English language version? Would love to use with my son!

Just open the Hamburger menu and then click „Sprache wechseln“.

Re: Ask HN: Are there any websites for SQL puzzle games?

#33

Others have given you excellent suggestions; I will simply offer an addition -- a side quest, if you will: Remember that the local single-user databases SQLite and DuckDB exist, and that you can use them to wrangle data without even having to set up a separate server. You just create a database file on your machine and go from there.

You don't even need a database file if you use Malloy, just a .parquet file or .csv file will work. Think of a .parquet file as a python dataframe saved as a file. DuckDB combined with Malloy are a powerful combo. If you like writing SQL queries for fun, you should like writing Malloy queries even more (at least I do). If you are looking to compare timeframes, Malloy does this well: https://docs.malloydata.dev/documentation/patterns/yoy

Re: Ask HN: Are there any websites for SQL puzzle games?

#34
https://detective.kusto.io/

It's not SQL directly (it's the Kusto query language) which is more geared towards reading data and analytics.

I'm suggesting it however because the queries in it are also basically relational algebra (aka much of the knowledge is transferable to SQL - minus some special features like anomaly analysis), they give decently sized datasets with billions of rows and the challenges themselves were fun.

Re: Ask HN: Are there any websites for SQL puzzle games?

#36

Others have given you excellent suggestions; I will simply offer an addition -- a side quest, if you will: Remember that the local single-user databases SQLite and DuckDB exist, and that you can use them to wrangle data without even having to set up a separate server. You just create a database file on your machine and go from there.

There's also nothing stopping you from running postgres, sql server, MySQL etc locally.

Re: Ask HN: Are there any websites for SQL puzzle games?

#37
post #36

Others have given you excellent suggestions; I will simply offer an addition -- a side quest, if you will: Remember that the local single-user databases SQLite and DuckDB exist, and that you can use them to wrangle data without even having to set up a separate server. You just create a database file on your machine and go from there.

There's also nothing stopping you from running postgres, sql server, MySQL etc locally.

Postgres running local has good ROI. You can reuse that knowledge on a remote server. More than SQL you can learn about setting up databases and schemas etc.

Re: Ask HN: Are there any websites for SQL puzzle games?

#38
post #36

Earlier quoted context omitted.

There's also nothing stopping you from running postgres, sql server, MySQL etc locally.

Postgres running local has good ROI. You can reuse that knowledge on a remote server. More than SQL you can learn about setting up databases and schemas etc.

Can you recommend any good book/resource to pick up PostgreSQL?

I'm familiar with MySQL/MariaDB, but have no experience with Postgres.

Re: Ask HN: Are there any websites for SQL puzzle games?

#39

Earlier quoted context omitted.

Postgres running local has good ROI. You can reuse that knowledge on a remote server. More than SQL you can learn about setting up databases and schemas etc.

Can you recommend any good book/resource to pick up PostgreSQL? I'm familiar with MySQL/MariaDB, but have no experience with Postgres.

I always google what I need. I admit I haven’t gone deep into it. Just the basics for side projects.

Re: Ask HN: Are there any websites for SQL puzzle games?

#40
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

Post reply on HN