Master database querying with interactive real-time exercises.
SQL lab is a set of exercises on real PostgreSQL. Pick SELECT, INSERT, UPDATE, DELETE, CREATE, or the other structure commands. Each one has a prompt, sample rows, and a table diagram. Answers are graded by the result set, not by how the SQL is written.
You can read the prompt, sample data, and table diagram. Run, Submit, and Hint turn on after you sign in.
SELECT across several domains. Also INSERT, UPDATE, DELETE, ON CONFLICT, TRUNCATE, CREATE TABLE, ALTER TABLE, DROP TABLE, INDEX, and VIEW.