SQLite for Beginners: Build Lightweight Databases for Python, Mobile, and Desktop Projects

ANT

$5.00
Format
Digital edition
PDFEPUB
Works on phone, tablet and computer Instant access after checkout Personal-use digital license
About this edition

• Instant access to your digital edition.
• Read anytime, anywhere, on your favorite device.
• No shipping — your book is delivered digitally.
• Simple, secure access after purchase.

Published date July 8, 2026
Author Thom Haagenrud

Instant digital delivery after purchase.

Download link available immediately after checkout.
In stock
Quantity
Secure checkout — encrypted end to end Free exchange or return within 30 days if the product is defective. Digital formats available instantly
Readers also enjoyed

Discover another great read to add to your digital library.

$5.00

Description

Do you need a dependable way to store information in a Python script, desktop utility, mobile application, or offline project without installing and managing a full database server?

SQLite for Beginners is a practical, step-by-step guide to building lightweight relational databases that live inside ordinary project files. Written for complete beginners, it shows you how to organize information, write useful SQL queries, protect data, connect databases to Python, and create reliable local applications.

SQLite is small enough to begin using quickly, yet capable enough to support real software. A single database file can contain tables, relationships, indexes, constraints, transactions, and structured information for an entire application.

This book begins by explaining where SQLite fits and how it differs from spreadsheets, loose files, and client-server database systems. You will then create your first database, work with the SQLite command-line shell, design tables, add records, retrieve information, and develop increasingly practical projects.

Inside this guide, you will learn how to:

• Understand when SQLite is the right database for a project
• Recognize when PostgreSQL, MySQL, or another server database may be more suitable
• Install and use the sqlite3 command-line shell
• Create, open, inspect, and organize database files
• Distinguish SQLite shell commands from SQL statements
• Design clear tables, rows, columns, and relationships
• Choose practical table names and column names
• Work with SQLite storage classes and suitable column definitions
• Add information with INSERT
• Correct records safely with UPDATE
• Remove information carefully with DELETE
• Retrieve selected information with SELECT
• Filter, sort, limit, group, and summarize query results
• Connect related tables with joins
• Model one-to-one, one-to-many, and many-to-many relationships
• Create primary keys and foreign keys
• Protect information with constraints and data-integrity rules
• Improve searches with indexes
• Read basic query plans and investigate slow queries
• Use transactions, commits, and rollbacks for safer changes
• Connect SQLite to Python using the built-in database module
• Execute queries with safe parameters instead of unsafe string construction
• Build a practical Python expense tracker
• Place database files correctly inside desktop, mobile, and local applications
• Plan schema changes as an application develops
• Import and export information
• Create backups and perform routine maintenance
• Diagnose common SQLite errors and prepare projects for future growth

Throughout the book, practical examples turn database concepts into working systems. You will create a notes database, task tracker, contact list, inventory database, sales report, student-enrolment structure, protected order system, customer lookup tool, stock-transfer workflow, and Python expense tracker.

The later chapters explain how SQLite supports local-first software. You will learn how a desktop or mobile application can keep structured information close to the user, continue working without a constant network connection, and evolve without losing existing records.

You will also learn SQLite’s limits. The book explains why a lightweight local database may not be suitable for systems with heavy concurrent writing, complex database-user permissions, or large numbers of remote users.

No previous database experience is required. Some basic Python familiarity will be helpful in the integration chapter, but every database concept is introduced from the beginning.

This book is suitable for students, Python learners, mobile and desktop developers, career changers, spreadsheet users, software-development beginners, and working professionals building small internal tools.

Specifications

FormatEPUB, PDF
Pages291
LanguageEnglish
ISBN-13979-8186234814

Frequently asked

Do I need an account to download?

No. After purchase, you can access your ebook directly from the order confirmation or download page.

What if a copy arrives damaged?

Contact us and we’ll help you access the file or provide a replacement download if needed.

Reviews

5★84%4★11%3★3%2★1%1★1%
See all reviews

Customers also downloaded