SQL playground
SQL asks a database for rows. This sample database contains teams and incidents, not your production data.
Advanced: sample schema & execution limits
teams(id INTEGER PRIMARY KEY, name TEXT, timezone TEXT) incidents(id INTEGER PRIMARY KEY, team_id INTEGER, summary TEXT, duration_minutes INTEGER)
Up to 100,000 query characters, 50 statements and 500 output rows. Queries stop after 3 seconds. Stop discards the database; reset restores the sample data. Earlier writes can remain after an error.
Loading SQLite