Real SQLite queries
Explore tables, filters, aggregates and relationships with small datasets.
Create your own example data and test a query. SQLite runs locally in your browser, so no database account or server setup is needed.
No account needed for browser-local experiments. Cloud saving is optional.
CREATE TABLE products (name TEXT, price INTEGER);
INSERT INTO products VALUES ('Notebook', 120), ('Pen', 20);
SELECT name, price FROM products WHERE price >= 100;Explore tables, filters, aggregates and relationships with small datasets.
Your experiment uses an in-memory database in the browser.
Each run starts with a fresh database, making setup-and-query examples repeatable.
Open the SQL playground.
Include CREATE TABLE and INSERT statements before your queries.
Click Run and inspect the result tables or error message.
The dialect is SQLite, not PostgreSQL or MySQL. The database is reset for each run, and execution and result-size limits apply. It does not connect to your production databases.
Write a query that groups rows by customer and returns SUM(amount), ordered by customer.
Load the starterSelect the name and price of products that are in stock and cost less than 100. Order the rows from the cheapest to the most expensive.
Load the starterList each customer name together with the amount of each of their orders. Include only customers who have orders, and order the rows by name and then amount.
Load the starterCount the visits for each page, keep only pages visited more than once and order the result with the highest count first.
Load the starterLocal drafts stay in this browser’s storage. Export a ZIP or source file to keep a separate copy. Cloud saves need a configured account and are sent to the site’s database.
Running code in this playground does not call an AI provider.
Use test data for experiments. Browser code, source exports, console messages, and debug reports can expose values you put in them.