SQL templates for Stripe, Shopify and Supabase data

For founders who want answers from their own billing, store or app data. Each page has a short main query, the tables it assumes for each source, copy-ready variations, and the mistakes that make the numbers wrong.

Running Postgres? See the PostgreSQL SQL generator. Want to ask from Claude, Cursor or ChatGPT instead? Set up AI2SQL over MCP.

Stripe

MRR, churn and failed payments, in Stripe Sigma (Trino) or on Stripe data synced to your warehouse.

Shopify

Orders, customers and products synced to Postgres, Snowflake or BigQuery. Each page has a version that runs on demo data.

Supabase

Postgres queries for the Supabase SQL editor, including signups and active users from auth.users.