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 SQLite constraints with PRIMARY KEY, FOREIGN KEY, UNIQUE, CHECK, NOT NULL, DEFAULT, Python examples, edge cases, and DbSchema tooling.
Turn a SQLite database into an ER diagram with DbSchema: connect to the .db file, reverse-engineer it, arrange the diagram, and document what it shows.
Learn SQLite CREATE TABLE syntax, data types, IF NOT EXISTS, constraints, AUTOINCREMENT, temp tables, and visual table design in DbSchema.
Learn MySQL DROP CONSTRAINT patterns for 5.7, 8.0, and 8.4. Remove foreign keys, unique indexes, checks, and primary keys safely in DbSchema.
Create a MySQL ER diagram from an existing database or design one from scratch. See version-aware examples, docs links, and DbSchema workflow tips.
Learn MySQL CREATE TRIGGER syntax for 5.7, 8.0, and 8.4 with BEFORE/AFTER examples, audit trail patterns, validation logic, and DbSchema tips.
Seven MySQL design tools compared on engines, reverse engineering, offline use, documentation, Git and prices, with what each one is built for and where DbSchema fits.
Find the real MySQL default root login behavior for 5.7, 8.0, and 8.4, reset passwords safely, and secure access faster with DbSchema.
Learn SQL Server table partitioning with partition functions, schemes, RANGE LEFT/RIGHT examples, list/hash alternatives, and DbSchema design tips.
Insert multiple rows in one SQL Server statement: the multi-row VALUES syntax, the documented 1,000-row limit and error 10738, and INSERT ... SELECT.