SQLite Exercises
Test your SQLite skills with exercises from all categories:
Exercises
Intro3 exercises
Get Started3 exercises
SQL3 exercises
SELECT3 exercises
SELECT DISTINCT3 exercises
WHERE3 exercises
ORDER BY3 exercises
AND3 exercises
OR3 exercises
NOT3 exercises
INSERT INTO3 exercises
NULL Values3 exercises
UPDATE3 exercises
DELETE3 exercises
LIMIT3 exercises
Aggregate3 exercises
MIN() and MAX()3 exercises
COUNT()3 exercises
SUM()3 exercises
AVG()3 exercises
LIKE3 exercises
Wildcards3 exercises
GLOB3 exercises
IN3 exercises
BETWEEN3 exercises
Aliases3 exercises
Joins3 exercises
INNER JOIN3 exercises
LEFT JOIN3 exercises
RIGHT JOIN3 exercises
FULL JOIN3 exercises
CROSS JOIN3 exercises
Self Join3 exercises
UNION3 exercises
UNION ALL3 exercises
INTERSECT and EXCEPT3 exercises
GROUP BY3 exercises
HAVING3 exercises
EXISTS3 exercises
Subqueries3 exercises
INSERT INTO SELECT3 exercises
CASE3 exercises
NULL Functions3 exercises
Comments3 exercises
Operators3 exercises
UPSERT3 exercises
RETURNING3 exercises
WITH (CTE)3 exercises
Window Functions3 exercises
JSON3 exercises
Create DB3 exercises
Attach DB3 exercises
Create Table3 exercises
Drop Table3 exercises
Alter Table3 exercises
Data Types3 exercises
STRICT Tables3 exercises
Constraints3 exercises
NOT NULL3 exercises
UNIQUE3 exercises
PRIMARY KEY3 exercises
FOREIGN KEY3 exercises
CHECK3 exercises
DEFAULT3 exercises
AUTOINCREMENT3 exercises
Generated Columns3 exercises
Create Index3 exercises
Views3 exercises
Triggers3 exercises
Dates3 exercises
Transactions3 exercises
PRAGMA3 exercises
Injection3 exercises
Command Line3 exercises
Import and Export3 exercises
with Python3 exercises
The Exercise
The exercises are a mix of "multiple choice" and "fill in the blanks" questions.
There are between 3 and 9 questions in each category.
The answer can be found in the corresponding tutorial chapter.
If you're stuck, or answer wrong, you can try again or hit the "Show Answer" button to see the correct answer.