Query design
Changing the design rewrites the SQL and runs it.
SQL
Output
The database
row used by the selected output rowadded or changeddeleted
Primary keys are underlined. Foreign keys are marked *.
Changing the design rewrites the SQL and runs it.
Primary keys are underlined. Foreign keys are marked *.
Real SQLite running in this browser. Higher SQL: SELECT with aggregates (COUNT, SUM, AVG, MAX, MIN) and GROUP BY, wildcards with LIKE, computed values and aliases, saved queries and subqueries, WHERE (AND, OR, =, <, >, <=, >=), ORDER BY, the equi-join, INSERT, UPDATE and DELETE.