Skip to main content

Menu

LEVEL 0
0/5 XP
HomeAboutTopicsPricingMy VaultStats

Categories

🤖 Artificial Intelligence
☁️ Cloud and Infrastructure
💾 Data and Databases
💼 Professional Skills
🎯 Programming and Development
🔒 Security and Networking
📚 Specialized Topics
HomeAboutTopicsPricingMy VaultStats
LEVEL 0
0/5 XP
GitHub
© 2026 CheatGrid™. All rights reserved.
Privacy PolicyTerms of UseAboutContact

SQLite Cheat Sheet

SQLite Cheat Sheet

Back to Databases
Updated 2026-04-29
Next Topic: TimescaleDB PostgreSQL Time-Series Extension Cheat Sheet

SQLite is a self-contained, serverless, zero-configuration, transactional SQL database engine embedded directly into applications. Unlike traditional client-server database systems, SQLite reads and writes directly to ordinary disk files, making it the most widely deployed database in the world—present in billions of devices including smartphones, browsers, and embedded systems. Its simplicity masks sophisticated features: full ACID compliance, a rich SQL implementation, and remarkable reliability backed by one of the most thorough test suites in open-source software. One key insight: SQLite excels when your application needs local storage with SQL capabilities but doesn't require concurrent write-heavy workloads across multiple clients—it is optimized for read-heavy scenarios and single-writer patterns, which is perfect for mobile apps, IoT devices, and data analysis tools.

What This Cheat Sheet Covers

This topic spans 29 focused tables and 200 indexed concepts. Below is a complete table-by-table outline of this topic, spanning foundational concepts through advanced details.

Table 1: Storage Classes and Data TypesTable 2: Core SQL CommandsTable 3: ConstraintsTable 4: Generated ColumnsTable 5: Table ModifiersTable 6: IndexesTable 7: Transactions and ACIDTable 8: Aggregate FunctionsTable 9: JOIN OperationsTable 10: Scalar Utility FunctionsTable 11: String FunctionsTable 12: Mathematical FunctionsTable 13: Date and Time FunctionsTable 14: PRAGMA StatementsTable 15: Window FunctionsTable 16: Common Table Expressions (CTEs)Table 17: Conditional LogicTable 18: Query OptimizationTable 19: SubqueriesTable 20: UPSERT OperationsTable 21: Views and TriggersTable 22: Database ManagementTable 23: JSON FunctionsTable 24: Full-Text Search (FTS5)Table 25: Collation and SortingTable 26: Write-Ahead Logging (WAL)Table 27: AUTOINCREMENT and ROWIDTable 28: In-Memory DatabasesTable 29: Special Commands (CLI)

Table 1: Storage Classes and Data Types

TypeExampleDescription
INTEGER
CREATE TABLE t(id INTEGER)
• Signed integer stored in 1, 2, 3, 4, 6, or 8 bytes depending on magnitude
• range −9,223,372,036,854,775,808 to +9,223,372,036,854,775,807.
TEXT
name TEXT
• String stored in UTF-8, UTF-16BE, or UTF-16LE encoding
• variable length up to 1 GB.
REAL
price REAL
• 8-byte IEEE 754 floating-point number
• used for decimal values.
BLOB
image BLOB
• Binary data stored exactly as input
• used for images, files, or any binary content.

More in Databases

  • SQL Server Management Studio (SSMS) Cheat Sheet
  • TimescaleDB PostgreSQL Time-Series Extension Cheat Sheet
  • Amazon DynamoDB Cheat Sheet
  • Database Design Cheat Sheet
  • Firebase Realtime Database Cheat Sheet
  • NoSQL Data Modeling Patterns Cheat Sheet
View all 42 topics in Databases