SQLite is unique among embedded databases in that it not only has a transactional, b-tree storage layer but it also includes a robust SQL execution engine. The post explains how SQLite parses, optimizes, and executes SQL queries. SQL is a declarative language, meaning you tell the database what you want but not how to do it, which allows the database to make better decisions about fetching and updating data.
