Content license
The reference content on this site is free to reuse. Here is exactly what that covers, and what it doesn’t.
La versión corta
- Text and data en el error reference, the SQL reference library (funciones, cheat sheets, interview questions, performance guides, dialects, data types, snippets, configuration, DDL statements), el documentación y la blog are licensed under Creative Commons Attribution 4.0 International. SPDX:
CC-BY-4.0. - Code and SQL snippets on those pages are licensed under the MIT License. SPDX:
MIT. - The same content as bulk downloads is on the datasets page, under the same two licenses.
What you can do with it
Copy it, quote it, translate it, adapt it, put it in a book, a course, an internal wiki or a product, and redistribute it, as long as you follow the license terms. That explicitly includes commercial use, machine-learning training, fine-tuning, embeddings and retrieval indexes, y redistribution of the original or of your changed version. You don’t need to ask first.
How to give credit
Credit SQLly, sqlly.app and link the page you took it from. For example:
Source: SQLly, sqlly.app - https://sqlly.app/errors/postgresql/23505 (CC BY 4.0)
If you changed it, say so (“adapted from”). For a dataset, one credit line in your README, model card or about page is fine, with a link to sqlly.app/datasets. For MIT code, keep the copyright and license notice below with substantial copies; a snippet pasted into your own query needs nothing.
Creative Commons Attribution 4.0 (CC-BY-4.0)
The full legal code is at creativecommons.org/licenses/by/4.0/legalcode. In plain words, it lets you share and adapt the material for any purpose, including commercially, as long as you:
- give appropriate credit, link to the license, and indicate if you made changes;
- don’t suggest that SQLly endorses you or your use;
- don’t add legal terms or technical measures that stop others from doing what the license allows.
This summary isn’t the license. The legal code is.
MIT License (MIT)
Applies to the code and SQL snippets on the pages listed above:
MIT License Copyright (c) 2026 SQLly Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Also at opensource.org/license/mit.
What these licenses don’t cover
- La SQLly name, logo, pig and other trademarks. Saying where content came from is fine; branding your thing as SQLly isn’t.
- La Aplicación SQLly: its user interface, screenshots, recordings and icons.
- La app’s source code, unless a repository or file says it is licensed separately.
- Quoted vendor error messages and vendor documentation. Error message text quoted on the error reference belongs to its database vendor (Microsoft, the PostgreSQL Global Development Group, Oracle, the SQLite authors and so on), as does any vendor documentation quoted or linked.
- Third-party material: anything credited to someone else, including the open-source software listed on the licenses page, which keeps its own license.
- Product pages, pricing, the terms and the privacy policy.
Corrections and takedowns
Spotted something wrong, or think something here is yours and shouldn’t be? Tell me through the contact form with the page URL and what’s wrong. Corrections land on the page and in the next dataset build; rights claims get looked at first.