Menu
×
   ❮     
HTML CSS JAVASCRIPT SQL PYTHON JAVA PHP C C++ C# AWS W3.CSS HOW TO BOOTSTRAP REACT MYSQL JQUERY EXCEL XML DJANGO NUMPY PANDAS NODEJS DSA TYPESCRIPT ANGULAR ANGULARJS GIT POSTGRESQL SQLITE MONGODB ASP AI R GO KOTLIN SWIFT SASS VUE GEN AI SCIPY CYBERSECURITY DATA SCIENCE INTRO TO PROGRAMMING INTRO TO HTML & CSS BASH RUST DART PLAYWRIGHT TOOLS MATH SHEETS POWER BI

SQLite Tutorial

SQLite HOME SQLite Intro SQLite Get Started

SQLite SQL

SQLite SQL SQLite SELECT SQLite SELECT DISTINCT SQLite WHERE SQLite ORDER BY SQLite AND SQLite OR SQLite NOT SQLite INSERT INTO SQLite NULL Values SQLite UPDATE SQLite DELETE SQLite LIMIT SQLite Aggregate SQLite MIN() and MAX() SQLite COUNT() SQLite SUM() SQLite AVG() SQLite LIKE SQLite Wildcards SQLite GLOB SQLite IN SQLite BETWEEN SQLite Aliases SQLite Joins SQLite INNER JOIN SQLite LEFT JOIN SQLite RIGHT JOIN SQLite FULL JOIN SQLite CROSS JOIN SQLite Self Join SQLite UNION SQLite UNION ALL SQLite INTERSECT and EXCEPT SQLite GROUP BY SQLite HAVING SQLite EXISTS SQLite Subqueries SQLite INSERT INTO SELECT SQLite CASE SQLite NULL Functions SQLite Comments SQLite Operators

SQLite Advanced

SQLite UPSERT SQLite RETURNING SQLite WITH (CTE) SQLite Window Functions SQLite JSON

SQLite Database

SQLite Create DB SQLite Attach DB SQLite Create Table SQLite Drop Table SQLite Alter Table SQLite Data Types SQLite STRICT Tables SQLite Constraints SQLite NOT NULL SQLite UNIQUE SQLite PRIMARY KEY SQLite FOREIGN KEY SQLite CHECK SQLite DEFAULT SQLite AUTOINCREMENT SQLite Generated Columns SQLite Create Index SQLite Views SQLite Triggers SQLite Dates SQLite Transactions SQLite PRAGMA SQLite Injection

SQLite Tools

SQLite Command Line SQLite Import and Export SQLite with Python

SQLite References

SQLite Functions

SQLite Exercises

SQLite Editor SQLite Quiz SQLite Exercises

SQLite Exercises


Share

Test your SQLite skills with exercises from all categories:

Exercises

Tip: Sign in to track your progress.

0/76 done

Intro3 exercises

Done

Get Started3 exercises

Done

SQL3 exercises

Done

SELECT3 exercises

Done

SELECT DISTINCT3 exercises

Done

WHERE3 exercises

Done

ORDER BY3 exercises

Done

AND3 exercises

Done

OR3 exercises

Done

NOT3 exercises

Done

INSERT INTO3 exercises

Done

NULL Values3 exercises

Done

UPDATE3 exercises

Done

DELETE3 exercises

Done

LIMIT3 exercises

Done

Aggregate3 exercises

Done

MIN() and MAX()3 exercises

Done

COUNT()3 exercises

Done

SUM()3 exercises

Done

AVG()3 exercises

Done

LIKE3 exercises

Done

Wildcards3 exercises

Done

GLOB3 exercises

Done

IN3 exercises

Done

BETWEEN3 exercises

Done

Aliases3 exercises

Done

Joins3 exercises

Done

INNER JOIN3 exercises

Done

LEFT JOIN3 exercises

Done

RIGHT JOIN3 exercises

Done

FULL JOIN3 exercises

Done

CROSS JOIN3 exercises

Done

Self Join3 exercises

Done

UNION3 exercises

Done

UNION ALL3 exercises

Done

INTERSECT and EXCEPT3 exercises

Done

GROUP BY3 exercises

Done

HAVING3 exercises

Done

EXISTS3 exercises

Done

Subqueries3 exercises

Done

INSERT INTO SELECT3 exercises

Done

CASE3 exercises

Done

NULL Functions3 exercises

Done

Comments3 exercises

Done

Operators3 exercises

Done

UPSERT3 exercises

Done

RETURNING3 exercises

Done

WITH (CTE)3 exercises

Done

Window Functions3 exercises

Done

JSON3 exercises

Done

Create DB3 exercises

Done

Attach DB3 exercises

Done

Create Table3 exercises

Done

Drop Table3 exercises

Done

Alter Table3 exercises

Done

Data Types3 exercises

Done

STRICT Tables3 exercises

Done

Constraints3 exercises

Done

NOT NULL3 exercises

Done

UNIQUE3 exercises

Done

PRIMARY KEY3 exercises

Done

FOREIGN KEY3 exercises

Done

CHECK3 exercises

Done

DEFAULT3 exercises

Done

AUTOINCREMENT3 exercises

Done

Generated Columns3 exercises

Done

Create Index3 exercises

Done

Views3 exercises

Done

Triggers3 exercises

Done

Dates3 exercises

Done

Transactions3 exercises

Done

PRAGMA3 exercises

Done

Injection3 exercises

Done

Command Line3 exercises

Done

Import and Export3 exercises

Done

with Python3 exercises

Done

Log in to track your progress

If you haven't already, sign up to become a W3Schooler, and get points for every exercise you complete.

As a logged-in W3Schools user you will have access to many features like having your own web page, track your learning progress, receive personal guided paths, and more.


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.



Free account

Track your progress

XP earned 0 Day streak 0 Spaces 0 League —

New

Learn in Adventure Mode W3Schools Adventure App

Coding fundamentals as bite-sized lessons and challenges.

×

Contact Sales

If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail:
sales@w3schools.com

Report Error

If you want to report an error, or if you want to make a suggestion, send us an e-mail:
help@w3schools.com

W3Schools is optimized for learning and training. Examples might be simplified to improve reading and learning. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using W3Schools, you agree to have read and accepted our terms of use, cookies and privacy policy.

Copyright 1999-2026 by W3Schools. All Rights Reserved. W3Schools is Powered by W3.CSS.