How to Learn in This Course
This course uses PostgreSQL — one of the most widely used open-source databases. This is a deliberate choice rather than a limitation: the core SQL constructs work much the same way in MySQL, SQL Server, and SQLite. Whenever the dialects differ, you'll see a purple note like this one; at the end of module 6, you'll get a cheat sheet showing the equivalent syntax in each .
What you need to get started: no programming experience, just a browser.
Prologue — “The Signal”
The year is 2184. Vault-9, an orbital archive station, is the last outpost of the Academy of Archivists. Today is your first day as a trainee: a dim corridor, amber holopanels, the steady hum of server racks. A voice comes through the speaker, almost like a purr.
QUERY: Cadet. I'm the S.Q.L. module. My full name is long, but my job is simple: I turn your questions into queries for data. In the language of the archives, a request is called a query, so everyone calls me QUERY. You arrived at the right time: last night, the station picked up something from a dead sector of the Network.
The signal repeats with the persistence of a beacon. It contains something no one has found since the Great Severance: an untouched database from old Earth. A 2024 PostgreSQL of the Kotomarket online store, with customers, products, orders, and events — an entire life deliberately preserved by someone. To read it, you'll need the language of the archives: SQL. That's what you'll learn here, through hands-on work as well as notes.

How your shift works
This isn't a course where you simply read a page and close the tab. You'll learn a short idea, run a live SQL query, and immediately test it on data from the Kotomarket online store.
Each lesson is structured like a short shift for a data archivist:
- theory — you learn what a new construct is for;
- live SQL — you run an example, change it, and check the result right away;
- question — you quickly check whether you understood the idea;
- practice — you reinforce the skill with exercises in the trainer.
A lesson counts as complete when you reach the end and answer the questions. As you work through the course, SQL becomes a practical tool you can use, and each completed module raises your archive access level.
SQL (Structured Query Language) is a language for querying databases. On Vault-9, they call it the language of the archives, but the basic idea hasn't changed since 2024: you specify which Kotomarket products, orders, or events you want, and the database decides how to find them.
While you were getting oriented, QUERY finished loading the entire . At the very end of the file, beneath the last row of data, there's a comment left by a human: “For whoever knows how to ask. Start with SELECT. — K.” The archives say nothing about who K. is. You'll find out what SELECT is right now.