How we create content
How we check the examples, explain the differences between engines and choose our sources.
How content is prepared
- Define the page's learning outcome.
- Create a minimal example with understandable tables and data.
- Check the order of the clauses and the expected result.
- Identify differences between engines.
- Add a common mistake, a practice task or a final check.
Priority sources
We put the official documentation of the engines and the bodies responsible for the standard first. Common references include:
- Official PostgreSQL documentation (opens in a new tab)
- Official MySQL documentation (opens in a new tab)
- Microsoft SQL Server documentation (opens in a new tab)
- Official SQLite documentation (opens in a new tab)
- Information on the ISO/IEC 9075 standard (opens in a new tab)
Compatibility
The introductory examples aim to use widely supported SQL. When the syntax differs, the relevant engine is named, and we avoid presenting one variant as universal.
Bounds
The material is for teaching and does not replace the documentation for your database's exact version. In production, you should test queries, execution plans, locks, backups and permissions in a controlled environment.
Report a problem
Include the URL, the engine and its version, the result you saw and the result you expected on the page for corrections.
What we try to verify in the examples
For a read query, we check the starting tables, the selected columns, the filters and the expected result. For aggregates, we also check what each row represents after GROUP BY. For JOINs, we check the relationship keys and what happens when there is no match. For data changes, we distinguish between practising the syntax and recommending a safe operation on real data.
How we handle dialect differences
SQL has a common core, but engines differ in functions, types, DDL, dates, strings and advanced features. When an explanation is introductory, we prefer widely recognised constructs. If a function is not portable, the page should give the context or link to the relevant documentation rather than present it as a universal rule.
Hierarchy of sources
For behaviour and syntax, the engine's official documentation comes first and, where relevant, the SQL standard. Third-party articles can help spot common questions, but they are no substitute for a primary source when claiming compatibility. The site's own examples are used to teach and demonstrate the concept with a controlled data set.