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.
DbSchema, dbForge Documenter, Redgate SQL Doc, SchemaSpy, Dataedo, dbdocs.io, Navicat and MySQL Workbench compared on where the descriptions live, output formats and price.
How a supertype with subtypes becomes tables with single-, class- or concrete-table inheritance, and what each lets through, run on PostgreSQL 17.6.
A relational database schema defines tables, columns, keys and constraints. One movie review example runs from requirements through 1NF to 3NF to SQL for three engines.
Database naming conventions for tables, columns, keys and indexes, what PostgreSQL and MySQL do with case, length and reserved words, and how to enforce them.
Logical database design on one order form: how it differs from conceptual and physical design, natural and surrogate keys, relationships, and 1NF to 3NF.
Learn SQL window functions from short examples with their results: PARTITION BY, running totals, ROW_NUMBER, RANK, DENSE_RANK, LAG, LEAD and ROWS BETWEEN.
Design a relational database schema in seven steps, from the questions it must answer to keys, normal forms, per-engine types, indexes and a test with sample rows.
DbSchema, pgAdmin, DBeaver, DataGrip, Navicat, DbVisualizer and dbForge compared on engines, free edition and price. Prices checked on the vendors' pages in November 2026.
Drop all tables in PostgreSQL with DROP SCHEMA, generated DROP TABLE statements or a DO block, or empty them with TRUNCATE, and restore the public schema's owner on PostgreSQL 15 and later.
Free PostgreSQL ER diagram tools compared: which ones read a live database, what each free tier includes, and where it stops. Vendor pages checked 2026-11-11.