Quickstart: Query in the browser

v3.2.0

Open the sandbox, run your first statements against a live KDBS server, and watch an assertion refuse a write.

In this article

The sandbox runs SQL against a real KDBS server in your browser, with nothing to install. It connects to a dedicated sandbox server with seven sample tables already loaded. This page explains what is on the screen, what the sandbox allows, and walks through a few statements with their real output.

What you get

The sandbox uses one dedicated kds_server that listens on an internal port and is not reachable from outside. Every visitor connects to the same server, so everyone sees the same tables: a table you create is visible to others, and changes to the sample tables are seen by all. Tables are kept until the sandbox server restarts, which starts it again from the sample tables. Do not store anything you want to keep.

The instance starts with two themes, each in its own namespace. shop is the simple one: accounts and items are the reference tables, and purchases points at both through foreign keys.

CREATE NAMESPACE shop;

CREATE TABLE shop.accounts (id int64, owner varchar, balance int64) BTREE;
CREATE TABLE shop.items (id int64, sku char(8), name varchar, category varchar, price decimal(10,2), in_stock bool) BTREE;

CREATE TABLE shop.purchases (id int64, account_id int64 REFERENCES accounts, item_id int64 REFERENCES items, qty int64, bought_on date, note varchar NULL) BTREE;
CREATE ASSERTION purchase_limit ON purchases GROUP BY (account_id, item_id) CHECK COUNT(*) <= 3;

flight is the complex one: airlines and passengers are the reference tables; flights and tickets point at them through foreign keys, and tickets carries a secondary index and two assertions.

CREATE NAMESPACE flight;

CREATE TABLE flight.airlines (id int64, code char(2), name varchar, country varchar) BTREE;
CREATE TABLE flight.passengers (id int64, name varchar, member bool, joined_on date) BTREE;

CREATE TABLE flight.flights (id int64, airline_id int64 REFERENCES airlines, code char(6), origin char(3), dest char(3), departs timestamp, aircraft varchar, base_fare decimal(10,2)) BTREE;

CREATE TABLE flight.tickets (id int64, flight_id int64 REFERENCES flights, passenger_id int64 REFERENCES passengers, seat char(3), baggage_kg int64, checked_in bool, note varchar NULL) BTREE;
CREATE INDEX ix_tickets_passenger ON tickets(passenger_id) COVERING (flight_id, baggage_kg);
CREATE ASSERTION seat_limit ON tickets GROUP BY (flight_id) CHECK COUNT(*) <= 4;
CREATE ASSERTION baggage_cap ON tickets GROUP BY (passenger_id) CHECK SUM(baggage_kg) <= 46;

Table names are unique across the instance, so a table can be named with its namespace (shop.items) or without it (items).

TableRowsWhat it shows
accounts3: alice, bob and carolThe simplest table: a name and an integer balance. The INSERT leaves out id, so the engine issues 1, 2, 3.
items5, from a mechanical keyboard to noise-cancelling headphonesFixed-width text (char(8) sku) beside variable text, an exact price (decimal(10,2)), such as 89.90, and a flag (bool, shown as 1 or 0). One item is out of stock.
purchases5 purchasesTwo foreign keys (to accounts and items), a date and a nullable note: three purchases have no note, so their note is NULL. The assertion purchase_limit allows at most three purchases per account and item, and account 1, alice, has already bought the keyboard twice.
airlines3: KE Korean Air, OZ Asiana Airlines, LJ Jin AirFixed-width text (char(2) code) beside variable text.
passengers8, from Kim Minjun to Han Taeyang; four are membersA flag and a date.
flights4 flights, such as KE0101 from ICN to NRTA foreign key to airlines, char codes, a timestamp departure and an exact fare, such as 212.50.
tickets9 tickets: 4 on flight 1, 2 on flight 2, 3 on flight 3, none on flight 4Two foreign keys (to flights and passengers), a nullable note, and the secondary index ix_tickets_passenger. Eight tickets have no note; one says wheelchair. Two assertions: seat_limit allows at most four tickets per flight, and flight 1, KE0101, is full. baggage_cap allows at most 46 kg of checked baggage per passenger, and passenger 1, Kim Minjun, is at 46 (23 kg on flight 1 and 23 kg on flight 3).

id is the primary key of each table. Every sample INSERT leaves it out, so each table’s keys start at 1.

The screen

The sandbox has a terminal on the left and a side panel on the right. The side panel has three tabs: Tables, History and Examples. Tables is the first tab.

PartWhat it does
Terminal (left)Type a statement at the kdbs> prompt. Enter runs it; Shift+Enter adds a line. Up and Down walk through earlier input. A status badge shows whether the connection is starting, ready or running a statement. Clear empties the screen; Restore samples drops and recreates the seven sample tables with their index and assertions, for everyone. Tables you created stay.
Tables tabLists the tables in groups: the sample tables under shop and flight, the tables you create under Your tables (namespace public, shown once you create one), and the system catalog (sys.*) under System catalog. Expand a table to see its columns and types; the primary key is marked PK. Click a column name to insert it at the cursor. The SELECT button runs SELECT * FROM <namespace>.<table> LIMIT 100, such as SELECT * FROM shop.items LIMIT 100. Refresh reloads the list; it also reloads after a successful CREATE, DROP or ALTER.
History tabLists the statements you ran, newest first, with their result and time. Click one to load it into the prompt. History is kept in your browser.
Examples tabReady-made statements in five groups: Basics (shop), Invariants, Flights (joins and plans), Transactions and Introspection.

When a statement is refused at a known position, the terminal draws a ^ under the offending token.

Sandbox commands

These words are handled by the page and are not sent to the server.

CommandWhat it does
helpLists the statements the sandbox accepts and these commands.
tablesRuns SHOW TABLES.
clearClears the screen. Ctrl+L does the same.
resetRestores the sample tables, the same as Restore samples. It is refused, and nothing is dropped, while a table of yours has a foreign key into a sample table. Drop that table first.

Limits

The sandbox is a demonstration, so it limits what one visitor can do.

  • The page connects over a WebSocket and falls back to plain HTTP. If your network lets the page load but blocks the WebSocket, the page switches to plain HTTP after a few seconds and the badge reads Connected (HTTP). Everything works the same way. Add ?transport=http to the address to force it.
  • One statement at a time. A pasted script is split on ; and the statements are sent one after another.
  • About 5 statements per second, with a burst of up to 20. Faster input is refused with “Too many statements; slow down.”
  • A statement that runs longer than 10 seconds resets your connection. The connection cannot be reused safely after a timeout, so the sandbox opens a new one. An open transaction is rolled back.
  • The session closes after 10 minutes without input, and after 60 minutes in total. Up to 3 sessions per visitor address are allowed.
  • A statement may be up to 4,096 bytes. At most 500 rows of a result are shown; the row count line says how many there were.
  • An explicit transaction is rolled back after 30 seconds. The sandbox sets txn_lifetime_ceiling_ms = 30000.
  • Some statements are disabled: STOP, SYNC, any SET other than SET ISOLATION LEVEL and SET DURABILITY, and CREATE NAMESPACE / DROP NAMESPACE. They are refused with a message that starts ERR sandbox:.
  • The server is small: one core, a buffer pool of 4,096 pages (32 MiB), at most 256 rows per INSERT, and a data file of at most 256 MiB. A server that reaches the file limit stops and is started again from the sample tables.
  • Visitors share the server. A long-running transaction of one visitor can delay others, which is why an explicit transaction is rolled back after 30 seconds.

Walk through a few statements

Each step shows what you type and what the terminal prints. Every result line is followed by a timing in the real terminal; the timings are left out here because they vary. Steps 1 to 6 use the shop tables; steps 7 to 10 move to the flight tables for joins over several tables, assertions over two groupings, foreign keys and the index.

Note. The server is shared, so ids and rows in your output can differ if another visitor changed the sample tables. Run reset first to start from the original rows.

1. List the tables

Type tables. The terminal runs SHOW TABLES for you. SHOW TABLES is a SELECT over the system view sys.tables, so it answers with that view’s columns:

kdbs> SHOW TABLES
┌──────┬───────────────┬──────────────┬──────────────┬──────────────┬────────────────┬─────────┬─────────────┬────────────┐
│ oid  │ namespace_oid │ name         │ desc_page_id │ root_page_id │ clustered_type │ next_id │ spare_slots │ spare_free │
├──────┼───────────────┼──────────────┼──────────────┼──────────────┼────────────────┼─────────┼─────────────┼────────────┤
│  100 │             0 │ types        │            4 │            4 │ HEAP           │       1 │           0 │          0 │
│  110 │             0 │ objects      │            6 │            6 │ HEAP           │       1 │           0 │          0 │
│  111 │             0 │ columns      │            5 │            5 │ HEAP           │       1 │           0 │          0 │
│  112 │             0 │ tables       │            7 │            7 │ HEAP           │       1 │           0 │          0 │
│  113 │             0 │ indexes      │            8 │            8 │ HEAP           │       2 │           0 │          0 │
│  114 │             0 │ patterns     │            9 │            9 │ HEAP           │       1 │           0 │          0 │
│  130 │             0 │ access_stats │           11 │           11 │ HEAP           │       1 │           0 │          0 │
│  131 │             0 │ cabins       │           12 │           12 │ HEAP           │       1 │           0 │          0 │
│  132 │             0 │ fkeys        │           13 │           13 │ HEAP           │       6 │           0 │          0 │
│  116 │             0 │ assertions   │           14 │           14 │ HEAP           │       4 │           0 │          0 │
│  146 │             0 │ transitions  │           16 │           16 │ HEAP           │       1 │           0 │          0 │
│  153 │             0 │ cabin_exprs  │           15 │           15 │ HEAP           │       1 │           0 │          0 │
│ 4002 │          4000 │ accounts     │          132 │          132 │ BTREE          │       4 │           0 │          0 │
│ 4006 │          4000 │ items        │          135 │          135 │ BTREE          │       6 │           0 │          0 │
│ 4013 │          4000 │ purchases    │          138 │          138 │ BTREE          │       6 │           0 │          0 │
│ 4020 │          4001 │ airlines     │          142 │          142 │ BTREE          │       4 │           0 │          0 │
│ 4025 │          4001 │ passengers   │          145 │          145 │ BTREE          │       9 │           0 │          0 │
│ 4030 │          4001 │ flights      │          148 │          148 │ BTREE          │       5 │           0 │          0 │
│ 4039 │          4001 │ tickets      │          151 │          151 │ BTREE          │      10 │           0 │          0 │
└──────┴───────────────┴──────────────┴──────────────┴──────────────┴────────────────┴─────────┴─────────────┴────────────┘
(19 rows)

The first twelve rows are system tables, in namespace 0. The next three are the shop tables, and the last four are the flight tables. SHOW NAMESPACES lists the namespaces that hold them:

kdbs> SHOW NAMESPACES
┌──────┬────────┐
│ oid  │ name   │
├──────┼────────┤
│    0 │ sys    │
│    1 │ public │
│ 4000 │ shop   │
│ 4001 │ flight │
└──────┴────────┘
(4 rows)

2. Read every item

SELECT * FROM items;
kdbs> SELECT * FROM items
┌────┬─────────┬─────────────────────────────┬─────────────┬────────┬──────────┐
│ id │ sku     │ name                        │ category    │ price  │ in_stock │
├────┼─────────┼─────────────────────────────┼─────────────┼────────┼──────────┤
│  1 │ KB-0001 │ Mechanical keyboard         │ peripherals │  89.90 │        1 │
│  2 │ MS-0002 │ Wireless mouse              │ peripherals │  24.50 │        1 │
│  3 │ MN-0003 │ 27-inch monitor             │ displays    │ 279.00 │        1 │
│  4 │ CB-0004 │ USB-C cable                 │ accessories │   9.99 │        1 │
│  5 │ HD-0005 │ Noise-cancelling headphones │ audio       │ 199.00 │        0 │
└────┴─────────┴─────────────────────────────┴─────────────┴────────┴──────────┘
(5 rows)

The same table can be named with its namespace. This query reads the items in stock:

kdbs> SELECT name, price FROM shop.items WHERE in_stock = 1
┌─────────────────────┬────────┐
│ name                │ price  │
├─────────────────────┼────────┤
│ Mechanical keyboard │  89.90 │
│ Wireless mouse      │  24.50 │
│ 27-inch monitor     │ 279.00 │
│ USB-C cable         │   9.99 │
└─────────────────────┴────────┘
(4 rows)

3. Insert and update a row

accounts has three columns. Two values leave the key out, and the reply returns the issued key as id=.

INSERT INTO accounts VALUES ('dave', 300);
kdbs> INSERT INTO accounts VALUES ('dave', 300)
INSERTED oid=4002 id=4 page=132 slot=3

oid is the table’s internal id; page and slot are where the row was placed. See INSERT.

An UPDATE can compute the new value from the old one:

kdbs> UPDATE accounts SET balance = balance - 50 WHERE id = 2
UPDATED 1
kdbs> SELECT * FROM accounts
┌────┬───────┬─────────┐
│ id │ owner │ balance │
├────┼───────┼─────────┤
│  1 │ alice │    1000 │
│  2 │ bob   │     450 │
│  3 │ carol │     250 │
│  4 │ dave  │     300 │
└────┴───────┴─────────┘
(4 rows)

The primary key is the row’s identity and cannot be updated. The engine calls it the tuple key. The refusal names the byte position, and the terminal marks it:

kdbs> UPDATE items SET id = 9 WHERE id = 1
                       ^
ERR tuple key column 'id' cannot be updated at byte 17; it is the tuple's identity, not a field of it

4. Join purchases to their items

SELECT p.id, i.name, p.qty, p.note FROM purchases AS p JOIN items AS i ON p.item_id = i.id;
kdbs> SELECT p.id, i.name, p.qty, p.note FROM purchases AS p JOIN items AS i ON p.item_id = i.id
┌──────┬─────────────────────┬───────┬────────────┐
│ p.id │ i.name              │ p.qty │ p.note     │
├──────┼─────────────────────┼───────┼────────────┤
│    1 │ Mechanical keyboard │     1 │ NULL       │
│    2 │ USB-C cable         │     3 │ gift wrap  │
│    3 │ 27-inch monitor     │     1 │ NULL       │
│    4 │ Wireless mouse      │     2 │ NULL       │
│    5 │ Mechanical keyboard │     1 │ second one │
└──────┴─────────────────────┴───────┴────────────┘
(5 rows)

The join runs in the order written: for each purchase, the engine looks up the item by primary key. Three purchases have no note, so their note is NULL.

IS NOT NULL finds the purchases that carry a note:

kdbs> SELECT id, item_id, note FROM purchases WHERE note IS NOT NULL
┌────┬─────────┬────────────┐
│ id │ item_id │ note       │
├────┼─────────┼────────────┤
│  2 │       4 │ gift wrap  │
│  5 │       1 │ second one │
└────┴─────────┴────────────┘
(2 rows)

A row whose note is NULL never matches a comparison, so this query returns the same two rows:

kdbs> SELECT id, item_id, note FROM purchases WHERE note >= 'a'
┌────┬─────────┬────────────┐
│ id │ item_id │ note       │
├────┼─────────┼────────────┤
│  2 │       4 │ gift wrap  │
│  5 │       1 │ second one │
└────┴─────────┴────────────┘
(2 rows)

5. Let an assertion refuse a write

purchase_limit counts the purchases of each account and item:

kdbs> SELECT account_id, item_id, COUNT(*) FROM purchases GROUP BY account_id, item_id
┌────────────┬─────────┬──────────┐
│ account_id │ item_id │ count(*) │
├────────────┼─────────┼──────────┤
│          1 │       1 │        2 │
│          1 │       4 │        1 │
│          2 │       3 │        1 │
│          3 │       2 │        1 │
└────────────┴─────────┴──────────┘
(4 rows)

Account 1 has bought item 1, the keyboard, twice. A third purchase is admitted and a fourth is refused before it is written. The same item for account 2 is a different group, so it is admitted:

kdbs> INSERT INTO purchases VALUES (1, 1, 1, '2026-10-12', NULL)
INSERTED oid=4013 id=6 page=138 slot=5
kdbs> INSERT INTO purchases VALUES (1, 1, 1, '2026-10-13', NULL)
ERR ASSERTION_VIOLATION retryable=0 assertion "purchase_limit" group (account_id=1, item_id=1): COUNT(*) would exceed bound 3
kdbs> INSERT INTO purchases VALUES (2, 1, 1, '2026-10-13', NULL)
INSERTED oid=4013 id=7 page=138 slot=6

retryable=0 means a retry would fail the same way. See CREATE ASSERTION.

6. Roll back a change

Inside a transaction, the change is visible to you. After ROLLBACK it is gone.

kdbs> BEGIN
BEGIN
kdbs> UPDATE accounts SET balance = 0 WHERE id = 1
UPDATED 1
kdbs> SELECT * FROM accounts WHERE id = 1
┌────┬───────┬─────────┐
│ id │ owner │ balance │
├────┼───────┼─────────┤
│  1 │ alice │       0 │
└────┴───────┴─────────┘
(1 row)
kdbs> ROLLBACK
ROLLBACK
kdbs> SELECT * FROM accounts WHERE id = 1
┌────┬───────┬─────────┐
│ id │ owner │ balance │
├────┼───────┼─────────┤
│  1 │ alice │    1000 │
└────┴───────┴─────────┘
(1 row)

7. Join three tables

The flight tables start here. Each ticket points at a flight and a passenger. This join reads the tickets of flight KE0101 with the passenger’s name:

SELECT f.code, p.name, t.seat, t.checked_in FROM tickets AS t JOIN flights AS f ON t.flight_id = f.id JOIN passengers AS p ON t.passenger_id = p.id WHERE f.code = 'KE0101';
kdbs> SELECT f.code, p.name, t.seat, t.checked_in FROM tickets AS t JOIN flights AS f ON t.flight_id = f.id JOIN passengers AS p ON t.passenger_id = p.id WHERE f.code = 'KE0101'
┌────────┬─────────────┬────────┬──────────────┐
│ f.code │ p.name      │ t.seat │ t.checked_in │
├────────┼─────────────┼────────┼──────────────┤
│ KE0101 │ Kim Minjun  │ 12A    │            1 │
│ KE0101 │ Lee Seoyeon │ 12B    │            1 │
│ KE0101 │ Park Jiho   │ 14C    │            0 │
│ KE0101 │ Choi Yuna   │ 15A    │            0 │
└────────┴─────────────┴────────┴──────────────┘
(4 rows)

A timestamp is compared with a quoted 'YYYY-MM-DD HH:MM:SS' literal:

kdbs> SELECT code, origin, dest, departs FROM flights WHERE departs >= '2026-11-03 00:00:00'
┌────────┬────────┬──────┬─────────────────────┐
│ code   │ origin │ dest │ departs             │
├────────┼────────┼──────┼─────────────────────┤
│ KE0303 │ ICN    │ SFO  │ 2026-11-03 19:40:00 │
│ LJ0404 │ PUS    │ KIX  │ 2026-11-04 13:15:00 │
└────────┴────────┴──────┴─────────────────────┘
(2 rows)

8. Reach a seat limit and a baggage limit

SELECT flight_id, COUNT(*), SUM(baggage_kg) FROM tickets GROUP BY flight_id;
kdbs> SELECT flight_id, COUNT(*), SUM(baggage_kg) FROM tickets GROUP BY flight_id
┌───────────┬──────────┬─────────────────┐
│ flight_id │ count(*) │ sum(baggage_kg) │
├───────────┼──────────┼─────────────────┤
│         1 │        4 │              58 │
│         2 │        2 │              10 │
│         3 │        3 │              76 │
└───────────┴──────────┴─────────────────┘
(3 rows)

Flight 1 has four tickets, the most seat_limit allows. Flight 2 has two, so it has room. Flight 4 has no tickets, so it does not appear. A fifth ticket on flight 1 is refused; a ticket on flight 2 is admitted:

kdbs> INSERT INTO tickets VALUES (1, 6, '16B', 0, 0, NULL)
ERR ASSERTION_VIOLATION retryable=0 assertion "seat_limit" group (flight_id=1): COUNT(*) would exceed bound 4
kdbs> INSERT INTO tickets VALUES (2, 7, '04A', 0, 0, NULL)
INSERTED oid=4039 id=10 page=151 slot=9

baggage_cap groups the same table by passenger instead. Passenger 1 has checked 46 kg in total, which is the limit, so five more kilograms on any flight are refused. Passenger 2, Lee Seoyeon, has 15 kg on flight 1, so a ticket for 31 kg on flight 4 is admitted, which puts the passenger at the limit, and one more kilogram is refused:

kdbs> INSERT INTO tickets VALUES (4, 1, '10A', 5, 0, NULL)
ERR ASSERTION_VIOLATION retryable=0 assertion "baggage_cap" group (passenger_id=1): SUM(baggage_kg) would exceed bound 46
kdbs> INSERT INTO tickets VALUES (4, 2, '07C', 31, 0, 'extra bag')
INSERTED oid=4039 id=11 page=151 slot=10
kdbs> INSERT INTO tickets VALUES (4, 2, '07D', 1, 0, NULL)
ERR ASSERTION_VIOLATION retryable=0 assertion "baggage_cap" group (passenger_id=2): SUM(baggage_kg) would exceed bound 46

SHOW ASSERTIONS shows each assertion’s counters:

kdbs> SHOW ASSERTIONS
┌──────────────┬────────────────┬─────────┬───────────┬───────────┬────────┬────────────┬──────────┬─────────┬─────────────────────────────────────────────────────────────────────────────────────────────────┐
│ assertion_id │ name           │ rel_oid │ rel_name  │ enforcing │ checks │ violations │ reserved │ aborted │ def                                                                                             │
├──────────────┼────────────────┼─────────┼───────────┼───────────┼────────┼────────────┼──────────┼─────────┼─────────────────────────────────────────────────────────────────────────────────────────────────┤
│            1 │ purchase_limit │    4013 │ purchases │         1 │      8 │          1 │        7 │       0 │ CREATE ASSERTION purchase_limit ON purchases GROUP BY (account_id, item_id) CHECK COUNT(*) <= 3 │
│            2 │ seat_limit     │    4039 │ tickets   │         1 │     14 │          1 │       11 │       0 │ CREATE ASSERTION seat_limit ON tickets GROUP BY (flight_id) CHECK COUNT(*) <= 4                 │
│            3 │ baggage_cap    │    4039 │ tickets   │         1 │     13 │          2 │       11 │       0 │ CREATE ASSERTION baggage_cap ON tickets GROUP BY (passenger_id) CHECK SUM(baggage_kg) <= 46     │
└──────────────┴────────────────┴─────────┴───────────┴───────────┴────────┴────────────┴──────────┴─────────┴─────────────────────────────────────────────────────────────────────────────────────────────────┘
(3 rows)

purchase_limit has refused one write, seat_limit one and baggage_cap two.

9. Let a foreign key refuse a write

A foreign key refuses a ticket for a flight that does not exist. The terminal marks the position of the bad value:

kdbs> INSERT INTO tickets VALUES (9, 1, '01A', 0, 0, NULL)
                                  ^
ERR FK_VIOLATION retryable=0 'flight_id' references row id=9 of 'flights', which does not exist (byte 28)

It also refuses to delete a flight that tickets still point at:

kdbs> DELETE FROM flights WHERE id = 1
ERR FK_VIOLATION retryable=0 row id=1 is still referenced by 'tickets.flight_id'

See Foreign keys.

10. Use the index

ix_tickets_passenger indexes tickets by passenger_id. ANALYZE runs a query and reports the plan with what each step did:

kdbs> ANALYZE SELECT flight_id, baggage_kg FROM tickets WHERE passenger_id = 1
analyze rows=2 class=JoinSelect steps=1 examined=2 pages=3 opens=1 pattern_id=0x7f93a09ecec0f530 fetch_id=0xe87078eef23dc20e
class=JoinSelect steps=1 hoisted=0
step 0 IndexProbe tickets
  filter 0:0.2 = 1
project flight_id=0:0.1, baggage_kg=0:0.4
step 0 IndexProbe tickets opens=1 examined=2 matched=2 sel=100% pages=3 index_scanned=2 index_resolved=2

The step is an IndexProbe: the engine read the two index entries for passenger 1 and examined only those two tickets. A filter on a column without an index scans the table instead:

kdbs> ANALYZE SELECT flight_id, baggage_kg FROM tickets WHERE seat = '12A'
analyze rows=1 class=JoinSelect steps=1 examined=11 pages=1 opens=1 pattern_id=0xd43781822b6c229 fetch_id=0x2f8c2fa93e8352e3
class=JoinSelect steps=1 hoisted=0
step 0 FilterScan tickets
  filter 0:0.3 = '12A'
project flight_id=0:0.1, baggage_kg=0:0.4
step 0 FilterScan tickets opens=1 examined=11 matched=1 sel=9% pages=1

The FilterScan examined all eleven tickets to find one. See ANALYZE and Secondary indexes.

Try it. Pick Examples → Introspection → Recorded query patterns to see the statement shapes the server has recorded so far (SHOW PATTERNS). Type reset to restore the sample tables.

Next steps