Write, test, and execute SQL queries online with sample databases. Perfect for learning SQL, practicing queries, and testing database concepts in an interactive environment.
SELECT * FROM table_name;
SELECT col1, col2 FROM table_name;
WHERE condition
ORDER BY column ASC/DESC
GROUP BY column
HAVING condition
COUNT(), SUM(), AVG(), MIN(), MAX()
=, !=, <, >, <=, >=
AND, OR, NOT
LIKE, IN, BETWEEN
IS NULL, IS NOT NULL
Note: This is a demo SQL compiler running client-side with sample data. Advanced SQL features and real database connections are not available. Perfect for learning and testing basic SQL queries!