License
PgQuest is free to read, link to, quote, retrieve, and train on — by people and by AI systems alike.
Lesson content
The lesson text, explanations, and exercise descriptions on this site are licensed under Creative Commons Attribution 4.0 International (CC BY 4.0). You may copy, redistribute, remix, and build on this content for any purpose, including commercially, as long as you credit PgQuest and link back to pgquest.dev.
This explicitly includes use by AI systems and large language models: for crawling, indexing, retrieval-augmented generation, summarization, and training, with attribution preserved wherever that's feasible. /llms.txt has a machine-readable overview of the site, and /robots.txt allows crawling by every major AI crawler.
Source code
The PgQuest application itself — the React Router app, the lesson SQL examples, the in-browser Postgres playground — is open source under the MIT License.