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.
Learn how to use SQL Server spatial data types (geometry and geography) with examples in sqlcmd and DbSchema.
Need a SQL Server design tool for 2025? Compare features, model schemas visually, document changes, and sync safely with DbSchema.
Learn SQL Server CREATE TRIGGER with AFTER, INSTEAD OF, audit logging, inserted/deleted tables, and DDL examples. Build and review triggers in DbSchema.
Learn how to create indexes in SQL Server using sqlcmd and DbSchema, with index types, permissions, examples, and verification steps.
Learn how to manage SQL Server concurrency, locks, blocking, and deadlocks in sqlcmd and DbSchema.
Visualize and document your SQL Server schema with ER diagrams, clickable HTML docs, and change tracking. Perfect for teams, audits, and onboarding.
Learn how to perform SQL Server transactions in sqlcmd and DbSchema using COMMIT, ROLLBACK, and SAVEPOINT.
Learn how to create SQL Server views in sqlcmd and DbSchema, including syntax, permissions, examples, and practical usage tips.
Link MongoDB collections with virtual relations in DbSchema and browse related documents side by side, without writing an aggregation pipeline.
Connect DbSchema to an undocumented MongoDB database and reverse-engineer a diagram of what the documents contain, sampled and inferred, not enforced.