Video
SQLite in Tablux: orders by status, then an AI question
A 24-second clip of Tablux on a Mac with a SQLite file open: Insights first, then orders and revenue by status, then Tablux AI answers “Who are our 10 best customers?” with a join that leaves out cancelled orders.
The query typed in the video
How many orders are in each status, and what they are worth.
SELECT status,
COUNT(*) AS orders,
ROUND(SUM(total), 2) AS revenue
FROM orders
GROUP BY status
ORDER BY orders DESC;The question for Tablux AI
The question, in everyday words: “Who are our 10 best customers?”
The reply: Total spent per customer, leaving out cancelled orders:
SELECT c.name, c.country, COUNT(o.id) AS orders,
ROUND(SUM(o.total), 2) AS spent
FROM customers c
JOIN orders o ON o.customer_id = c.id
WHERE o.status <> 'cancelled'
GROUP BY c.id
ORDER BY spent DESC
LIMIT 10;“Use in editor” puts the query in the editor; Run runs it. Nothing runs by itself.
What came back
The grid lists each customer with their country, order count and total spend. The file is a plain SQLite database; Open SQLite file… opens any such file from Finder or Files as a copy, so the original is never changed.
How this was recorded
Everything in the clip is the real app on a Mac, connected to a real SQLite file holding the Trailhead Outfitters demo shop (two years of orders, products, customers and refunds). The typed query and the AI’s query both ran against that data; the result grids are what came back. The one thing staged is the AI’s reply: the recording can’t call Tablux AI live, so it shows a fixed answer of the kind Tablux AI gives, written for this schema.
Try it
Tablux is free on the App Store for iPhone, iPad and Mac, with two connections of your own and 5 AI questions a month. Tablux Pro ($9.99 a month, or $79.99 a year with a 7-day free trial) adds unlimited connections, SSH tunnels and 200 AI questions a month. The assistant sees your schema (table and field names, types, keys), never your rows, and its query only runs when you tap Run.