Learn SQL in your browser
A free SQL tutorial in short lessons on one shop database. Every example runs on real PostgreSQL in your browser, and the page checks your answers.
Database design, migrations, SQL and everyday database work — explained with practical examples.
A free SQL tutorial in short lessons on one shop database. Every example runs on real PostgreSQL in your browser, and the page checks your answers.
Which data modeling tools carry one model from conceptual to logical to physical, generate tables per database, and what each costs, checked November 2026.
How MongoDB validation rules work: a $jsonSchema validator in mongosh, the validationLevel and validationAction settings, and the same rule designed in DbSchema.
Version your database schema without a migration framework. Save the design as an XML file in Git and generate SQL migration scripts automatically.
Learn how to design a collaborative task app schema using a Git-based workflow. Discover how backend teams branch, diff, and sync XML models safely.
Learn how to create diagrams, add comments, track changes, and export HTML5 docs to fully document your PostgreSQL schema using DbSchema.
Put SQL Server schema versioning in Git: DbSchema keeps the design model as plain XML and generates the T-SQL migration script between two versions.
Learn how to create a SQL Server database using sqlcmd and DbSchema, with prerequisites, practical steps, and verification queries.
Learn about a common SQL pattern used to find rows in one table that have no matching rows in another. And some related counting problems.
How SQL statements are structured, a runnable example per command family, where engine syntax differs, and how to read a syntax error.
Learn how to visualize MongoDB relationships with embedding, references, one-to-many patterns, and DbSchema diagrams. Decide when to embed vs reference.