SQLite Tutorial
Learn SQLite
SQLite is the most widely used database engine in the world.
It is small, fast and free, and it keeps a whole database in a single file.
SQLite is built into phones, web browsers and many other programs, and it comes with Python.
Examples in Each Chapter
With our online SQLite editor, you can edit the SQL statements, and click on a button to view the result.
Click on the "Try it Yourself" button to see how it works.
A Real Database in Your Browser
The editor runs a real SQLite database in your browser, with the Northwind sample database.
You can change the data as much as you like. If you want the original data back, click the "Restore Database" button in the editor.
SQLite Exercises
Many chapters end with an exercise, where you can test what you have learned.
SQLite Quiz Test
Test your SQLite skills at W3Schools!
SQLite References
Look up any SQLite function in our SQLite Functions Reference.