Audit missing table values
Count NULL values and empty text strings separately for every column in one table.
Explore and report on local SQLite data. Each guide includes full code, usage instructions, and ideas for making it your own.
Search this category ↗Count NULL values and empty text strings separately for every column in one table.
Run a read-only integrity_check and print its structural findings.
Group one table column into values and frequencies with a bounded output.
Calculate exact current row counts for each user table.
Copy a read-only source connection into one new SQLite database using the backup API.
Show column types, defaults, nullability declarations, and primary-key positions.
Show trigger definitions and the tables they watch without firing them.
Print local view names and defining SQL without evaluating the views.
Write table rows and a header to a new CSV file while leaving the source database unchanged.
Create a new nested JSON document grouping each customer with their sample-schema orders.
Report repeated non-NULL, nonempty values in a selected table column.
Report child rows that reference missing parent records using SQLite foreign_key_check.
Use a LEFT JOIN to report sample-schema orders whose customer record is absent.
Hash table names, declarations, and byte-sorted canonical row values rather than SQLite page layout.
Aggregate sample paid-order totals by customer region while keeping unmatched orders visible.
Explain a supplied SELECT query without executing its result-producing statement.
Report page size, page count, freelist pages, encoding, and configured journal mode.
List table indexes, uniqueness, origin, and indexed column positions.
List user tables, indexes, views, and triggers with their defining SQL.
Report sample products at or below a configurable stock threshold.
Calculate days since each sample customer last placed a paid order against a chosen date.
Summarize numeric counts, minimum, maximum, average, and total while excluding other SQLite storage types.
Join sample order items, products, and paid orders to summarize units and item revenue.
Join sample customers and paid orders to report counts and lifetime paid totals.
Group sample orders by month and status with count and total amount.