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 generate interactive MySQL database documentation. Compare top tools, explore the four documentation types, and export HTML5 docs.
Learn SQL Server window functions with practical examples in sqlcmd and DbSchema, including ranking, aggregates, value functions, and common limitations.
Design and organize your SQL Server database visually using diagrams that clearly show tables, relationships, and help you understand the structure.
Learn how to set up SQL Server replication with sqlcmd, understand replication roles and types, and validate replicated data in DbSchema.
Learn how to implement SQL Server Common Table Expressions (CTEs) in sqlcmd and DbSchema with practical examples.
Step-by-step guide to enable remote SQL Server connections by configuring TCP/IP, firewall rules, and connection settings.
Looking for a DataGrip alternative? Compare top visual database schema design tools, including DbSchema, Oracle Data Modeler, and Aqua Data Studio.
One row per group in PostgreSQL with DISTINCT ON: the ORDER BY it requires, the tie that picks a random row, and when ROW_NUMBER or LEFT JOIN LATERAL is the better tool.
Write the rules your schema must follow, run them against the DbSchema model, and get a list of every table, column, index, or foreign key that breaks one, before anything reaches the database.
Get a quick tour of DbSchema features, including schema modeling, synchronization, documentation, and visual query tools.