Does anyone know of websites that provide SQL puzzle games that allow users to solve problems by writing SQL and validating them? I believe this would be an engaging way to enhance my SQL skills. Your suggestions are appreciated!
Otherwise, in the same vein as the SQL murder mystery, you can try the Hanukkah of Data [1].
[0]: https://leetcode.com/problem-list/leetcode-curated-sql-70/
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.
I even use it for hiring exercises.
- https://hw.leftium.com/#/item/23066776
Lost at SQL: The SQL learning game:
- https://hw.leftium.com/#/item/35665142
There are even more games in the comments.
I teach uni. couses on databases and made the game for my student to give them a more self-driven way to learn SQL.
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.
Nice options ITT.
CREATE TABLE SQL_GAMES blah blah blah
INSERT INTO SQL_GAMES many invited users blah blah blah
SELECT * FROM SQL_GAMES WHERE users are having fun blah blah blah
PROFIT blah blah blah
ENJOY even more blah
-- TODO: drastically restructure above schema and SQL statements to make more sense blah blah blah
-- there's your game blah blah blah