Erik's SQL Executor

Learn SQL by executing commands directly in your browser

SQL Editor

Output

Available Tables

No tables available. Create a table using CREATE TABLE command.

Example SQL Commands

Create a Table

CREATE TABLE users (
  id INTEGER PRIMARY KEY,
  name TEXT,
  email TEXT,
  age INTEGER
);

Insert Data

INSERT INTO users (id, name, email, age)
VALUES (1, 'John Doe', 'john@example.com', 28);

Select Data

SELECT * FROM users WHERE age > 25;

Update Data

UPDATE users SET age = 29 WHERE id = 1;