DbSchema Blog

Database design, migrations, SQL and everyday database work — explained with practical examples.

SQL tutorial

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.

Mysql 12 Nov 2026

MySQL CREATE TABLE Guide with Examples | DbSchema

Learn MySQL CREATE TABLE from short examples with the output MySQL returned: PRIMARY KEY, AUTO_INCREMENT, NOT NULL, DEFAULT, UNIQUE, FOREIGN KEY, IF NOT EXISTS and copying a table.

Tools 12 Nov 2026

AI ER Diagram Generators Compared

AI ER diagram generators compared: what each one starts from, how much AI its free plan includes, and how DbSchema draws the diagram from your real database instead.