Your Progress
0 of 30 days completed
30 Daily Lessons
Structured lessons from basic SELECT statements to advanced JOINs and Indexing.
In-Browser SQL IDE
Write, run, and practice real SQL queries directly in your browser without any setup.
Syntax Guide
A quick reference for essential MySQL commands, data types, and functions.
SQL AI Tutor
Stuck on a query? Ask the AI Tutor for explanations, error checking, and tips!
π» Browser SQL IDE
Write and execute real SQL queries directly in your browser. Powered by WebAssembly.
Query results will appear here...
π Syntax Guide
Quick reference for essential MySQL commands and structure.
SELECT
SELECT column1, column2 FROM table_name;
INSERT INTO
INSERT INTO table_name (column1, column2) VALUES (value1, value2);
UPDATE
UPDATE table_name SET column1 = value1 WHERE condition;
DELETE
DELETE FROM table_name WHERE condition;
WHERE & Operators
SELECT * FROM table_name WHERE age > 25 AND status = 'active';
ORDER BY
SELECT * FROM table_name ORDER BY column1 ASC, column2 DESC;
GROUP BY & HAVING
SELECT COUNT(id), country FROM customers GROUP BY country HAVING COUNT(id) > 5;
JOINS (Inner, Left, Right)
SELECT a.col, b.col FROM table_A a INNER JOIN table_B b ON a.id = b.id;
CREATE TABLE
CREATE TABLE users (id INT PRIMARY KEY AUTO_INCREMENT, name VARCHAR(100) NOT NULL);
ALTER TABLE
ALTER TABLE table_name ADD column_name datatype;