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 conditionORDER BY column ASC/DESCGROUP BY columnHAVING conditionCOUNT(), SUM(), AVG(), MIN(), MAX()=, !=, <, >, <=, >=AND, OR, NOTLIKE, IN, BETWEENIS NULL, IS NOT NULLNote: 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!