SQL Database
Writing a SQL database will teach you to bridge the gap between high-level logic (SQL queries) and low-level hardware realities (disk seek times, memory layout).
Front-end
REPL
Tokenizing (Lexing)
Parsing
Data Structures
Databases do not usually use Linked Lists or standard Binary Search Trees because those structures scatter data across memory/disk, causing too many slow disk jumps. So use B+ Trees.