Loading...

Build your own SQLite

Learn about SQL syntax, SQLite's file format, B-trees and more

Start Building
sqlite
C#
sqlite
Go
sqlite
JavaScript
sqlite
Python
sqlite
Ruby
sqlite
Rust
sqlite
Zig
sqlite
Clojure
sqlite
C++
sqlite
Java
sqlite
C
sqlite
Gleam
sqlite
Kotlin
sqlite
TypeScript
sqlite
Elixir

This challenge requires a CodeCrafters Membership.

You're welcome to study the full challenge structure and stage instructions for free. A membership is needed for submitting code and viewing solutions.

Want to try a free challenge? Try Build your own Shell — it's free this month.

SQLite is a popular SQL database engine. In this challenge, you'll build your own version of SQLite that is capable of reading a SQLite database file and answering basic SQL queries like SELECT and using indexes.

Along the way, you'll learn about the SQLite file format, SQL syntax and more.