Database Practice Exercises

Design tables, write queries and work with relational, document and key-value databases.

3 paths · 20 challenges

More soon
mongodb
4 challenges · 1 module
java-25Java 25nodejs-24Node.js 24python-312Python 3.13
Documents, BSON & CRUD Basics
More soon
postgresql
12 challenges · 4 modules
PostgreSQLPostgreSQL
Data Types & Table Design
More soon
redis
4 challenges · 1 module
java-25Java 25nodejs-24Node.js 24python-312Python 3.13
Strings & Key Basics

From the blog

2
Every Mongoose query, one pageA bookmarkable Mongoose cheatsheet — finding, filtering, projection and sorting, pagination, updates, populate, and lean() for performance.How to design a MongoDB schemaA reference for modelling decisions in MongoDB — embed vs reference, designing around queries, indexing, patterns, and the anti-patterns to avoid.

Frequently asked questions

3

Which paths are in this category?

3 paths: MongoDB (4 challenges), PostgreSQL (12 challenges) and Redis (4 challenges).

How many challenges are there?

20 challenges across 6 modules.

Do I need to install anything?

No. Every challenge runs in a browser-based IDE with everything already set up, and your code is graded automatically against a test suite.

We use cookies that are necessary to run Staffcoder, and optional analytics cookies to see which pages get used. Analytics stays off unless you accept. Read our Cookie Policy.