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.

Design 15 Nov 2026

Running the Same Query Against Several Engines

The same SELECT returns different results on PostgreSQL, MySQL and SQLite. Three differences we ran, the portable fix for each, and how to test one query on several databases from one window.